mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Allow clicking the toolbar icon multiple times without moving the cursor (#7267)
Revert "FIX:fix Gizmo tooltop disply"
This reverts commit a26c573b1b.
This commit is contained in:
@@ -792,8 +792,8 @@ void GLToolbar::do_action(GLToolbarItem::EActionType type, int item_id, GLCanvas
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_type == Normal && item->get_state() != GLToolbarItem::Disabled) {
|
if (m_type == Normal && item->get_state() != GLToolbarItem::Disabled) {
|
||||||
// the item may get disabled during the action, if not, set it back to normal state
|
// the item may get disabled during the action, if not, set it back to hover state
|
||||||
item->set_state(GLToolbarItem::Normal);
|
item->set_state(GLToolbarItem::Hover);
|
||||||
parent.render();
|
parent.render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user