Skip to content

Commit

Permalink
fix: fix z_tilt button for z_tilt_ng with Kalico
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Dec 10, 2024
1 parent 9783e00 commit 3d6cc3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/printer/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -780,9 +780,9 @@ export const getters: GetterTree<PrinterState, RootState> = {
},

existsZtilt: (state) => {
if (!state.configfile?.settings) return false
if (!state.gcode) return false

return 'z_tilt' in state.configfile.settings
return 'Z_TILT_ADJUST' in state.gcode.commands
},

existsBedTilt: (state) => {
Expand Down

0 comments on commit 3d6cc3a

Please sign in to comment.