mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 02:22:03 +08:00
parent
0d7566085a
commit
34ff5c0304
@ -1199,6 +1199,10 @@ float GUI_App::toolbar_icon_scale(const bool is_limited/* = false*/) const
|
||||
|
||||
if (is_limited && int_val < 50)
|
||||
int_val = 50;
|
||||
else if (int_val < 1) {
|
||||
int_val = 10; //buggy code? issue supermerill/superslicer#854
|
||||
assert(false);
|
||||
}
|
||||
|
||||
return 0.01f * int_val * icon_sc;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user