diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-10-28 20:22:28 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-10-28 20:22:28 -0300 |
commit | 4b6e6c67586ac1e423d1095c1280dc5ce0c916a8 (patch) | |
tree | c51fd899ee56fccb4bc6cd2279e181b5759882c3 /scene/gui/code_edit.h | |
parent | 4dc2c8ae6fe954f8c5c6627803f0a087ee1a2488 (diff) |
Stop centering clicked suggestions in the autocomplete popup
Diffstat (limited to 'scene/gui/code_edit.h')
-rw-r--r-- | scene/gui/code_edit.h | 1 |
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; |