mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-31 01:42:00 +08:00
Allow clicking the toolbar icon multiple times without moving the cursor (#7267)
Revert "FIX:fix Gizmo tooltop disply" This reverts commit a26c573b1b13867ce50a16f0ae924be9aa05f26c.
This commit is contained in:
parent
c17c5c8205
commit
cdb38d918b
@ -792,8 +792,8 @@ void GLToolbar::do_action(GLToolbarItem::EActionType type, int item_id, GLCanvas
|
||||
}
|
||||
|
||||
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
|
||||
item->set_state(GLToolbarItem::Normal);
|
||||
// the item may get disabled during the action, if not, set it back to hover state
|
||||
item->set_state(GLToolbarItem::Hover);
|
||||
parent.render();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user