From 29178d35645341939e5406dd849dad073dc45c52 Mon Sep 17 00:00:00 2001 From: FelipeMatoba Date: Thu, 9 Dec 2021 16:44:56 -0300 Subject: Increased time delay on selection when opening a popup --- scene/gui/popup_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene') 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 &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; } -- cgit v1.2.3