FIX:fix Gizmo tooltop disply

Change-Id: I1bc5f3d1dea44eb182c5d37e5ecb31e1c34bab82
This commit is contained in:
xiangdong.yang 2022-08-15 15:55:49 +08:00 committed by Lane.Wei
parent 13b711602c
commit a26c573b1b

View file

@ -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();
} }
} }