Fix EditorSpinSlider
mouse reset position on tree exit
(cherry picked from commit 784b1adb18
)
This commit is contained in:
parent
e629622598
commit
2570df7fd8
1 changed files with 1 additions and 0 deletions
|
@ -398,6 +398,7 @@ void EditorSpinSlider::_notification(int p_what) {
|
|||
if (grabbing_spinner) {
|
||||
grabber->hide();
|
||||
Input::get_singleton()->set_mouse_mode(Input::MOUSE_MODE_VISIBLE);
|
||||
Input::get_singleton()->warp_mouse_position(grabbing_spinner_mouse_pos);
|
||||
grabbing_spinner = false;
|
||||
grabbing_spinner_attempt = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue