mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
FIX:fix Gizmo tooltop disply
Change-Id: I1bc5f3d1dea44eb182c5d37e5ecb31e1c34bab82
This commit is contained in:
@@ -804,8 +804,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 hover state
|
// the item may get disabled during the action, if not, set it back to normal state
|
||||||
item->set_state(GLToolbarItem::Hover);
|
item->set_state(GLToolbarItem::Normal);
|
||||||
parent.render();
|
parent.render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user