mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
GLCanvas on_idle changes to do updates on notifications correctly. Changed updating separators in GLToolbar.
This commit is contained in:
@@ -70,8 +70,8 @@ bool GLToolbarItem::update_visibility()
|
||||
bool ret = (m_data.visible != visible);
|
||||
if (ret)
|
||||
m_data.visible = visible;
|
||||
|
||||
return ret;
|
||||
// Return false for separator as it would always return true.
|
||||
return is_separator() ? false : ret;
|
||||
}
|
||||
|
||||
bool GLToolbarItem::update_enabled_state()
|
||||
|
||||
Reference in New Issue
Block a user