You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
fixed PopupMenus letterjumping on any InputEvent
(cherry picked from commit 8a5660f3d1)
This commit is contained in:
@@ -387,7 +387,7 @@ void PopupMenu::_gui_input(const Ref<InputEvent> &p_event) {
|
||||
|
||||
Ref<InputEventKey> k = p_event;
|
||||
|
||||
if (allow_search && k.is_valid() && k->get_unicode()) {
|
||||
if (allow_search && k.is_valid() && k->get_unicode() && k->is_pressed()) {
|
||||
|
||||
uint64_t now = OS::get_singleton()->get_ticks_msec();
|
||||
uint64_t diff = now - search_time_msec;
|
||||
|
||||
Reference in New Issue
Block a user