浏览代码

GUI: Only cancel completion with the `ui_cancel` action

HolonProduction 11 月之前
父节点
当前提交
93ae8d8f0d
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      scene/gui/code_edit.cpp

+ 0 - 4
scene/gui/code_edit.cpp

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