diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-06-21 12:47:17 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-09-12 15:34:49 +0200 |
commit | dd6443193cbf249c686105c20481283ec63a5f45 (patch) | |
tree | 06fa152dd04aab2b28f2d4135c08195a488c2a21 /editor/editor_native_shader_source_visualizer.cpp | |
parent | 83d54ab2ad476ae265b323c2b88f4623b922f4c6 (diff) | |
download | redot-engine-dd6443193cbf249c686105c20481283ec63a5f45.tar.gz |
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Diffstat (limited to 'editor/editor_native_shader_source_visualizer.cpp')
-rw-r--r-- | editor/editor_native_shader_source_visualizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_native_shader_source_visualizer.cpp b/editor/editor_native_shader_source_visualizer.cpp index 3d7d37c94e..9ebf7d680e 100644 --- a/editor/editor_native_shader_source_visualizer.cpp +++ b/editor/editor_native_shader_source_visualizer.cpp @@ -98,7 +98,7 @@ void EditorNativeShaderSourceVisualizer::_inspect_shader(RID p_shader) { code_edit->set_syntax_highlighter(syntax_highlighter); code_edit->add_theme_font_override(SceneStringName(font), get_theme_font("source", EditorStringName(EditorFonts))); code_edit->add_theme_font_size_override(SceneStringName(font_size), get_theme_font_size("source_size", EditorStringName(EditorFonts))); - code_edit->add_theme_constant_override("line_spacing", EDITOR_DEF("text_editor/theme/line_spacing", 6)); + code_edit->add_theme_constant_override("line_spacing", EDITOR_GET("text_editor/theme/line_spacing")); // Appearance: Caret code_edit->set_caret_type((TextEdit::CaretType)EDITOR_GET("text_editor/appearance/caret/type").operator int()); |