mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Spinbox: don't ignore double clicks.
Fixes the problem with spinboxes not updating when clicking too fast.
(cherry picked from commit dd4c2709e4)
This commit is contained in:
parent
38e86c8c24
commit
674a090e59
1 changed files with 0 additions and 2 deletions
|
|
@ -98,8 +98,6 @@ void SpinBox::_input_event(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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue