FIX:Notification border rounding on macos

Change-Id: Ic4ca4ae93ad981fe5b07f55d7451559ab99f22f2
This commit is contained in:
liz.li 2022-08-09 17:04:16 +08:00 committed by Lane.Wei
parent 2f849a86b8
commit 2c99301fe6
2 changed files with 19 additions and 2 deletions

View file

@ -5869,6 +5869,9 @@ void GLCanvas3D::_check_and_update_toolbar_icon_scale()
m_assemble_view_toolbar.set_scale(sc);
collapse_toolbar.set_scale(sc);
size *= m_retina_helper->get_scale_factor();
auto *m_notification = wxGetApp().plater()->get_notification_manager();
m_notification->set_scale(sc);
#else
//BBS: GUI refactor: GLToolbar
m_main_toolbar.set_icons_size(GLGizmosManager::Default_Icons_Size * scale);