2
0
Fork 0

Fix dragging spinner without control

3.2
Rafał Mikrut 2019-11-05 15:53:19 +07:00
parent 4569f5ec82
commit 9fd416abce
1 changed files with 1 additions and 1 deletions

@ -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) {