mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
This commit is contained in:
commit
cae84d2857
8 changed files with 145 additions and 4 deletions
|
@ -5723,7 +5723,7 @@ void GLCanvas3D::_check_and_update_toolbar_icon_scale() const
|
|||
|
||||
// set minimum scale as a auto scale for the toolbars
|
||||
float new_scale = std::min(new_h_scale, new_v_scale);
|
||||
if (fabs(new_scale - scale) > EPSILON)
|
||||
if (fabs(new_scale - scale) > 0.01) // scale is changed by 1% and more
|
||||
wxGetApp().set_auto_toolbar_icon_scale(new_scale);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue