Skip to content

Commit

Permalink
fix: optimize launch ux
Browse files Browse the repository at this point in the history
Former-commit-id: c91f93d
  • Loading branch information
ci010 committed Jul 15, 2019
1 parent 2e16125 commit 1e717b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/windows/main/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</div>

<v-btn color="grey darken-1" style="position: absolute; right: 10px; bottom: 10px; " dark large
:disabled="refreshingProfile || missingJava || launchStatus !== 'ready'" :loading="launchStatus === 'launching'"
:disabled="refreshingProfile || missingJava" :loading="launchStatus !== 'ready'"
@click="launch">
{{ $t('launch.launch') }}
<v-icon right>
Expand All @@ -99,7 +99,7 @@
<crash-dialog v-model="crashDialog" :content="crashReport" :location="crashReportLocation"
@close="crashDialog=false" />
<java-wizard ref="jwizard" @task="taskDialog=true" @show="taskDialog=false" />
<v-dialog v-model="tempDialog" width="250">
<v-dialog v-model="tempDialog" :persistent="launchStatus === 'launching'" width="250">
<v-card dark>
<v-container>
<v-layout align-center justify-center column>
Expand Down

0 comments on commit 1e717b0

Please sign in to comment.