diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-09-23 09:36:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-23 09:36:00 +0200 |
| commit | 0c449aefa2732fbf16161e8b9a9dddca84a36cd0 (patch) | |
| tree | 98fd7aff8fd1434ac39e74e794ddfc1b14ee370b /scene/gui/popup_menu.h | |
| parent | 77945a91d24316d58fba54ad69d13227e1824b72 (diff) | |
| parent | 54eaaf456fd538a73652690d6ff0b34bf7395e28 (diff) | |
| download | redot-engine-0c449aefa2732fbf16161e8b9a9dddca84a36cd0.tar.gz | |
Merge pull request #42173 from nekomatata/popup-menu-click-delay
Fix popup menu item selected when opening the menu
Diffstat (limited to 'scene/gui/popup_menu.h')
| -rw-r--r-- | scene/gui/popup_menu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/popup_menu.h b/scene/gui/popup_menu.h index 9535fd07d7..e8f82ba869 100644 --- a/scene/gui/popup_menu.h +++ b/scene/gui/popup_menu.h @@ -105,7 +105,7 @@ class PopupMenu : public Popup { void _activate_submenu(int over); void _submenu_timeout(); - bool invalidated_click; + uint64_t popup_time_msec = 0; bool hide_on_item_selection; bool hide_on_checkable_item_selection; bool hide_on_multistate_item_selection; |
