fix(CrossControl): step size was not applied correctly (#805)
fixes #804
This commit is contained in:
1 parent
8ddf13081f
commit
087d9b7104
1 file changed
+4
-2
@@ -376,8 +376,6 @@ export default class CrossControl extends Mixins(BaseMixin, ControlMixin) {
|
||||
mdiEngineOff = mdiEngineOff
|
||||
mdiHome = mdiHome
|
||||
|
||||
private stepSize = this.stepsReversed[this.selectedCrossStep]
|
||||
|
||||
get actionButton(): string {
|
||||
return this.$store.state.gui.control.actionButton ?? this.defaultActionButton
|
||||
}
|
||||
@@ -393,6 +391,10 @@ export default class CrossControl extends Mixins(BaseMixin, ControlMixin) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.selectedCrossStep', value: newVal })
|
||||
}
|
||||
|
||||
get stepSize(): number {
|
||||
return this.stepsReversed[this.selectedCrossStep]
|
||||
}
|
||||
|
||||
/**
|
||||
* Axes reverse states
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user