1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Merge pull request #97660 from HolonProduction/completion-cancelation-🌈

GUI: Only cancel completion with the `ui_cancel` action
This commit is contained in:
Rémi Verschelde
2024-12-14 18:25:13 +01:00

View File

@@ -572,10 +572,6 @@ void CodeEdit::gui_input(const Ref<InputEvent> &p_gui_input) {
} else { } else {
update_code_completion = (allow_unicode_handling && k->get_unicode() >= 32); update_code_completion = (allow_unicode_handling && k->get_unicode() >= 32);
} }
if (!update_code_completion) {
cancel_code_completion();
}
} }
/* MISC */ /* MISC */