Remove duplicate project settings definitions
This commit is contained in:
@ -472,7 +472,7 @@ void PopupMenu::gui_input(const Ref<InputEvent> &p_event) {
|
||||
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;
|
||||
uint64_t max_interval = uint64_t(GLOBAL_DEF("gui/timers/incremental_search_max_interval_msec", 2000));
|
||||
uint64_t max_interval = uint64_t(GLOBAL_GET("gui/timers/incremental_search_max_interval_msec"));
|
||||
search_time_msec = now;
|
||||
|
||||
if (diff > max_interval) {
|
||||
|
||||
Reference in New Issue
Block a user