Skip to content

Commit

Permalink
Update ZoffsetControl.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Feb 16, 2024
1 parent c794303 commit 97660f9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/panels/ToolheadControls/ZoffsetControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<v-col class="v-subheader justify-end pl-0">
<div class="d-flex align-center">
<v-btn
v-if="z_gcode_offset !== 0"
v-if="z_gcode_offset !== 0 && showClearZOffset"
:loading="loadings.includes('babySteppingClear')"
text
small
Expand All @@ -27,7 +27,7 @@
<span v-if="!el.is.xsmall" class="ml-1">{{ $t('Panels.ZoffsetPanel.Clear') }}</span>
</v-btn>
<v-btn
v-if="showSaveButton"
v-if="showSaveButton && showSaveZOffset"
color="primary"
text
small
Expand All @@ -40,7 +40,8 @@
</div>
</v-col>
</v-row>
<v-row dense>
<v-row dense
v-if="showZOffsetAdjust">
<v-col :class="!el.is.medium ? 'order-1 col-6' : 'col-12'">
<div class="d-flex align-center">
<v-item-group class="_btn-group">
Expand Down

0 comments on commit 97660f9

Please sign in to comment.