mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 10:17:55 -06:00
workaround fix for flicking top bars
This commit is contained in:
parent
61952610df
commit
cbda70ae73
1 changed files with 1 additions and 1 deletions
|
@ -7470,7 +7470,7 @@ void GLCanvas3D::_check_and_update_toolbar_icon_scale()
|
||||||
#if ENABLE_RETINA_GL
|
#if ENABLE_RETINA_GL
|
||||||
new_scale /= m_retina_helper->get_scale_factor();
|
new_scale /= m_retina_helper->get_scale_factor();
|
||||||
#endif
|
#endif
|
||||||
if (fabs(new_scale - scale) > 0.01) // scale is changed by 1% and more
|
if (fabs(new_scale - scale) > 0.05) // scale is changed by 5% and more
|
||||||
wxGetApp().set_auto_toolbar_icon_scale(new_scale);
|
wxGetApp().set_auto_toolbar_icon_scale(new_scale);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue