summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorStanislav Labzyuk <stanislav.labzyuk@gmail.com>2022-08-02 12:38:23 +0700
committerStanislav Labzyuk <stanislav.labzyuk@gmail.com>2022-08-02 12:38:23 +0700
commit44ce8381928dd11b98688c6fe68f42d1c0da2b54 (patch)
treecccabb9c69c302075a0bd17f5ad8244d2271a370 /editor
parentc2d55a4e1a353b75eb598277e9a6403fc6bfc4d5 (diff)
Fix guidelines appearance
Diffstat (limited to 'editor')
-rw-r--r--editor/code_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 99ca82b311..b0eb384efc 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -1045,6 +1045,8 @@ void CodeTextEditor::update_editor_settings() {
guideline_cols.append(EditorSettings::get_singleton()->get("text_editor/appearance/guidelines/line_length_guideline_soft_column"));
}
text_editor->set_line_length_guidelines(guideline_cols);
+ } else {
+ text_editor->set_line_length_guidelines(TypedArray<int>());
}
}