Scale runout distance setting for editable range (#18567)

This commit is contained in:
shuttercat 2020-07-06 15:48:55 -07:00 committed by GitHub
parent 9ee891c4a6
commit 9a0b9de3ba
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ void menu_cancelobject();
#if HAS_FILAMENT_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
);
#endif