mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
GLCanvas on_idle changes to do updates on notifications correctly. Changed updating separators in GLToolbar.
This commit is contained in:
parent
2659ac567a
commit
3f11b7dea5
3 changed files with 11 additions and 15 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue