feat: allow for more decimal places in move-to-input (#976)
This commit is contained in:
parent
8ab59b642a
commit
6f68709f21
@ -5,6 +5,7 @@
|
||||
:label="`[ ${label} ]`"
|
||||
:suffix="suffix"
|
||||
:disabled="disabled"
|
||||
:step="step"
|
||||
:readonly="readonly"
|
||||
:error="!validate"
|
||||
hide-details="auto"
|
||||
@ -56,6 +57,9 @@ export default class MoveToInput extends Mixins(BaseMixin) {
|
||||
@Prop({ type: Number, required: true })
|
||||
declare readonly positionMin: number
|
||||
|
||||
@Prop({ type: Number, required: false, default: 1 })
|
||||
declare readonly step: number
|
||||
|
||||
@Prop({ type: Boolean, required: false })
|
||||
declare readonly disabled: boolean
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
:suffix="'X'"
|
||||
:position-max="stepperXmax"
|
||||
:position-min="stepperXmin"
|
||||
:step="0.01"
|
||||
:current-pos="gcodePositions.x"
|
||||
:readonly="['printing'].includes(printer_state)"
|
||||
:disabled="!xAxisHomed"
|
||||
@ -34,6 +35,7 @@
|
||||
:suffix="'Y'"
|
||||
:position-max="stepperYmax"
|
||||
:position-min="stepperYmin"
|
||||
:step="0.01"
|
||||
:current-pos="gcodePositions.y"
|
||||
:readonly="['printing'].includes(printer_state)"
|
||||
:disabled="!yAxisHomed"
|
||||
@ -47,6 +49,7 @@
|
||||
:suffix="'Z'"
|
||||
:position-max="stepperZmax"
|
||||
:position-min="stepperZmin"
|
||||
:step="0.001"
|
||||
:current-pos="gcodePositions.z"
|
||||
:readonly="['printing'].includes(printer_state)"
|
||||
:disabled="!zAxisHomed"
|
||||
|
Loading…
x
Reference in New Issue
Block a user