From cdb38d918bbcd9a3f7f2099343a059b8ffacd900 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Tue, 12 Nov 2024 00:09:15 +0800 Subject: [PATCH] Allow clicking the toolbar icon multiple times without moving the cursor (#7267) Revert "FIX:fix Gizmo tooltop disply" This reverts commit a26c573b1b13867ce50a16f0ae924be9aa05f26c. --- 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 be97e52e84a..234340dc6b6 100644 --- a/src/slic3r/GUI/GLToolbar.cpp +++ b/src/slic3r/GUI/GLToolbar.cpp @@ -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(); } }