diff options
author | Andreas Haas <liu.gam3@gmail.com> | 2017-02-14 00:54:59 +0100 |
---|---|---|
committer | Andreas Haas <liu.gam3@gmail.com> | 2017-02-14 00:57:49 +0100 |
commit | dd4c2709e4a4f1abef558c5b3a4e4454db06410d (patch) | |
tree | 43c2635533c81d66664dcef3562bf1710acfc960 /scene | |
parent | e837b25f5506d065dd1be381b4158c49fc356d40 (diff) |
Spinbox: don't ignore double clicks.
Fixes the problem with spinboxes not updating when clicking too fast.
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/spin_box.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 2ad1f385db..f2c04d2f76 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -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); |