You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Spinbox: don't ignore double clicks.
Fixes the problem with spinboxes not updating when clicking too fast.
This commit is contained in:
@@ -100,8 +100,6 @@ void SpinBox::_gui_input(const InputEvent& p_event) {
|
||||
if (p_event.type==InputEvent::MOUSE_BUTTON && p_event.mouse_button.pressed) {
|
||||
const InputEventMouseButton &mb=p_event.mouse_button;
|
||||
|
||||
if (mb.doubleclick)
|
||||
return; //ignore doubleclick
|
||||
|
||||
bool up = mb.y < (get_size().height/2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user