mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-26 02:49:18 +01:00
Fix EditorSpinSlider
mouse reset position on tree exit
(cherry picked from commit 784b1adb188f6003f01201d8cff3dab574c6beab)
This commit is contained in:
parent
da8155f59b
commit
eb1fa27364
@ -420,6 +420,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 New Issue
Block a user