Skip to content

Commit

Permalink
fix: ensure home buttons color correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
cadriel committed Jan 3, 2021
1 parent f2830df commit 1226f81
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/components/widgets/ToolheadMovesWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<v-icon small>$home</v-icon> All
</v-btn>
<v-btn
:color="(!allHomed) ? 'warning' : 'secondary'"
:color="(!xHomed) ? 'warning' : 'secondary'"
small
:elevation="2"
:loading="hasWait(waits.onHomeX)"
Expand All @@ -75,7 +75,7 @@
<v-icon small>$home</v-icon> X
</v-btn>
<v-btn
:color="(!allHomed) ? 'warning' : 'secondary'"
:color="(!yHomed) ? 'warning' : 'secondary'"
small
:elevation="2"
:loading="hasWait(waits.onHomeY)"
Expand All @@ -95,14 +95,6 @@
<v-icon small>$home</v-icon> Z
</v-btn>
</v-speed-dial>
<!-- <btn-toolhead-move
@click="sendGcode('G28 Z', waits.onHomeZ)"
:loading="hasWait(waits.onHomeZ)"
:disabled="hasWaits || !klippyConnected"
:color="(!zHomed) ? 'warning' : 'secondary'"
badge="Z"
icon="$home">
</btn-toolhead-move> -->
</v-col>
</v-row>
<v-row no-gutters justify="start" class="mb-3">
Expand Down

0 comments on commit 1226f81

Please sign in to comment.