Scale runout distance setting for editable range (#18567)
This commit is contained in:
parent
9ee891c4a6
commit
9a0b9de3ba
@ -152,7 +152,7 @@ void menu_cancelobject();
|
|||||||
|
|
||||||
#if HAS_FILAMENT_RUNOUT_DISTANCE
|
#if HAS_FILAMENT_RUNOUT_DISTANCE
|
||||||
editable.decimal = runout.runout_distance();
|
editable.decimal = runout.runout_distance();
|
||||||
EDIT_ITEM(float3, MSG_RUNOUT_DISTANCE_MM, &editable.decimal, 1, 30,
|
EDIT_ITEM(float3, MSG_RUNOUT_DISTANCE_MM, &editable.decimal, 1, float(FILAMENT_RUNOUT_DISTANCE_MM) * 1.5f,
|
||||||
[]{ runout.set_runout_distance(editable.decimal); }, true
|
[]{ runout.set_runout_distance(editable.decimal); }, true
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user