diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-02-14 07:47:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 07:47:06 +0100 |
commit | 81edda18f39efc4f783bc6fa2b381c01cfc0ef2d (patch) | |
tree | 8beec0bfd954a7068566855aa970120283763b06 | |
parent | fdbe1c3c61b013ea57ff6fabec26054c92473d0f (diff) | |
parent | dd4c2709e4a4f1abef558c5b3a4e4454db06410d (diff) |
Merge pull request #7803 from Hinsbart/spinbox_click
Spinbox: don't ignore double clicks.
-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); |