Hide editor_spin_slider grabber when closing Editor's windows
Fixes: #38740
This commit is contained in:
parent
00949f0c5f
commit
095167dcc3
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ void EditorSpinSlider::_notification(int p_what) {
|
||||||
p_what == NOTIFICATION_WM_FOCUS_IN ||
|
p_what == NOTIFICATION_WM_FOCUS_IN ||
|
||||||
p_what == NOTIFICATION_EXIT_TREE) {
|
p_what == NOTIFICATION_EXIT_TREE) {
|
||||||
if (grabbing_spinner) {
|
if (grabbing_spinner) {
|
||||||
|
grabber->hide();
|
||||||
Input::get_singleton()->set_mouse_mode(Input::MOUSE_MODE_VISIBLE);
|
Input::get_singleton()->set_mouse_mode(Input::MOUSE_MODE_VISIBLE);
|
||||||
grabbing_spinner = false;
|
grabbing_spinner = false;
|
||||||
grabbing_spinner_attempt = false;
|
grabbing_spinner_attempt = false;
|
||||||
|
|
Loading…
Reference in a new issue