mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 13:43:15 +00:00
Merge pull request #49028 from HaSa1002/fix-spin-slider-mouse-warp
This commit is contained in:
commit
7e7582cd57
@ -448,6 +448,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(grabbing_spinner_mouse_pos);
|
||||
grabbing_spinner = false;
|
||||
grabbing_spinner_attempt = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user