summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-12-10 01:03:19 +0100
committerGitHub <noreply@github.com>2021-12-10 01:03:19 +0100
commit5ad9d8bad69309d71ea55f3d799af7e3711dc262 (patch)
tree07c7534ce242faa2174846eb6d02d2a7d214ba8b /scene/gui
parent89b8de71c0b1bfb2b1a69c082ee9605c7fe8c2af (diff)
parent29178d35645341939e5406dd849dad073dc45c52 (diff)
Merge pull request #55766 from FelipeMatoba/master
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/popup_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp
index 4e16111f99..4671626718 100644
--- a/scene/gui/popup_menu.cpp
+++ b/scene/gui/popup_menu.cpp
@@ -371,7 +371,7 @@ void PopupMenu::gui_input(const Ref<InputEvent> &p_event) {
// Disable clicks under a time threshold to avoid selection right when opening the popup.
uint64_t now = OS::get_singleton()->get_ticks_msec();
uint64_t diff = now - popup_time_msec;
- if (diff < 100) {
+ if (diff < 150) {
return;
}