mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 18:36:02 +08:00
Add an extra check to enforce min height of printSetupSelector
CURA-6478
This commit is contained in:
parent
db1a5ec8c0
commit
79fbe12e92
@ -201,7 +201,13 @@ Item
|
|||||||
{
|
{
|
||||||
h -= mouse_absolute_y - base.height;
|
h -= mouse_absolute_y - base.height;
|
||||||
}
|
}
|
||||||
|
// Enforce a minimum size (again).
|
||||||
|
// This is a bit of a hackish way to do it, but we've seen some ocasional reports that the size
|
||||||
|
// could get below the the minimum height.
|
||||||
|
if(h < absoluteMinimumHeight)
|
||||||
|
{
|
||||||
|
h = absoluteMinimumHeight;
|
||||||
|
}
|
||||||
UM.Preferences.setValue("view/settings_list_height", h);
|
UM.Preferences.setValue("view/settings_list_height", h);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user