mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #33362 from qarmin/regression_control
Fix dragging spinner without control key
This commit is contained in:
commit
706552404c
@ -112,7 +112,7 @@ void EditorSpinSlider::_gui_input(const Ref<InputEvent> &p_event) {
|
||||
if (mm->get_control()) {
|
||||
set_value(Math::round(pre_grab_value + get_step() * grabbing_spinner_dist_cache * 10));
|
||||
} else {
|
||||
set_value(pre_grab_value + get_step() * grabbing_spinner_dist_cache * 10);
|
||||
set_value(pre_grab_value + get_step() * grabbing_spinner_dist_cache);
|
||||
}
|
||||
}
|
||||
} else if (updown_offset != -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user