From dd4c2709e4a4f1abef558c5b3a4e4454db06410d Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Tue, 14 Feb 2017 00:54:59 +0100 Subject: Spinbox: don't ignore double clicks. Fixes the problem with spinboxes not updating when clicking too fast. --- scene/gui/spin_box.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'scene') 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); -- cgit v1.2.3