summaryrefslogtreecommitdiff
path: root/scene/gui/code_edit.h
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2022-10-28 20:22:28 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2022-10-28 20:22:28 -0300
commit4b6e6c67586ac1e423d1095c1280dc5ce0c916a8 (patch)
treec51fd899ee56fccb4bc6cd2279e181b5759882c3 /scene/gui/code_edit.h
parent4dc2c8ae6fe954f8c5c6627803f0a087ee1a2488 (diff)
Stop centering clicked suggestions in the autocomplete popup
Diffstat (limited to 'scene/gui/code_edit.h')
-rw-r--r--scene/gui/code_edit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/code_edit.h b/scene/gui/code_edit.h
index 09c7ef80bf..cbbc13480e 100644
--- a/scene/gui/code_edit.h
+++ b/scene/gui/code_edit.h
@@ -214,6 +214,7 @@ private:
Vector<ScriptLanguage::CodeCompletionOption> code_completion_options;
int code_completion_line_ofs = 0;
int code_completion_current_selected = 0;
+ int code_completion_force_item_center = -1;
int code_completion_longest_line = 0;
Rect2i code_completion_rect;
Rect2i code_completion_scroll_rect;