summaryrefslogtreecommitdiffstats
path: root/scene/gui/code_edit.h
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2023-03-20 16:47:45 +0100
committerGitHub <noreply@github.com>2023-03-20 16:47:45 +0100
commitc31149060004a0c177d1a7e9b0acd2844520e47a (patch)
tree5e236bff7e6443d4cd6f2696b10cf4efdf56834f /scene/gui/code_edit.h
parentb1c18f807bfa3ad2e807ad920bc5f55b5e4061bd (diff)
parentff98395556a9a5fd497547efb47024e19e368bb5 (diff)
downloadredot-engine-c31149060004a0c177d1a7e9b0acd2844520e47a.tar.gz
Merge pull request #74665 from YuriSizov/code-edit-is-a-complete-drag
Prevent passing events from CodeEdit to TextEdit when code completion is active
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 fe4b8d4809..e26697106e 100644
--- a/scene/gui/code_edit.h
+++ b/scene/gui/code_edit.h
@@ -211,6 +211,7 @@ private:
bool code_completion_active = false;
bool is_code_completion_scroll_hovered = false;
bool is_code_completion_scroll_pressed = false;
+ bool is_code_completion_drag_started = false;
Vector<ScriptLanguage::CodeCompletionOption> code_completion_options;
int code_completion_line_ofs = 0;
int code_completion_current_selected = 0;