Merge pull request #55766 from FelipeMatoba/master

This commit is contained in:
Rémi Verschelde 2021-12-10 01:03:19 +01:00 committed by GitHub
commit 5ad9d8bad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}