From a26c573b1b13867ce50a16f0ae924be9aa05f26c Mon Sep 17 00:00:00 2001 From: "xiangdong.yang" Date: Mon, 15 Aug 2022 15:55:49 +0800 Subject: [PATCH] FIX:fix Gizmo tooltop disply Change-Id: I1bc5f3d1dea44eb182c5d37e5ecb31e1c34bab82 --- src/slic3r/GUI/GLToolbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/GLToolbar.cpp b/src/slic3r/GUI/GLToolbar.cpp index c7a4699002..25d82b2625 100644 --- a/src/slic3r/GUI/GLToolbar.cpp +++ b/src/slic3r/GUI/GLToolbar.cpp @@ -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(); } }