Skip to content

Commit

Permalink
FIX:fix Gizmo tooltop disply
Browse files Browse the repository at this point in the history
Change-Id: I1bc5f3d1dea44eb182c5d37e5ecb31e1c34bab82
  • Loading branch information
xiangdong.yang authored and lanewei120 committed Aug 26, 2022
1 parent 13b7116 commit a26c573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slic3r/GUI/GLToolbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,8 +804,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 hover state
item->set_state(GLToolbarItem::Hover);
// the item may get disabled during the action, if not, set it back to normal state
item->set_state(GLToolbarItem::Normal);
parent.render();
}
}
Expand Down

0 comments on commit a26c573

Please sign in to comment.