mirror of
https://github.com/godotengine/godot
synced 2024-09-21 07:31:31 +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) {
|
if (grabbing_spinner) {
|
||||||
grabber->hide();
|
grabber->hide();
|
||||||
Input::get_singleton()->set_mouse_mode(Input::MOUSE_MODE_VISIBLE);
|
Input::get_singleton()->set_mouse_mode(Input::MOUSE_MODE_VISIBLE);
|
||||||
|
Input::get_singleton()->warp_mouse(grabbing_spinner_mouse_pos);
|
||||||
grabbing_spinner = false;
|
grabbing_spinner = false;
|
||||||
grabbing_spinner_attempt = false;
|
grabbing_spinner_attempt = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue