From 095167dcc3cdca6264eff740a946970d79bca7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20=27dreamsComeTrue=27=20Jasi=C5=84ski?= Date: Fri, 15 May 2020 15:37:13 +0200 Subject: [PATCH] Hide editor_spin_slider grabber when closing Editor's windows Fixes: #38740 --- editor/editor_spin_slider.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index 39e6746797f..67d92c48390 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -186,6 +186,7 @@ void EditorSpinSlider::_notification(int p_what) { p_what == NOTIFICATION_WM_FOCUS_IN || p_what == NOTIFICATION_EXIT_TREE) { if (grabbing_spinner) { + grabber->hide(); Input::get_singleton()->set_mouse_mode(Input::MOUSE_MODE_VISIBLE); grabbing_spinner = false; grabbing_spinner_attempt = false;