diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-02-16 16:26:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-16 16:26:55 +0100 |
commit | 2caf4aed615dabb59d2a88ef02d481d6c16ac912 (patch) | |
tree | 05b28f1ec4254782a081c279b59453a2cc125410 /editor/plugins | |
parent | 49dc473ff184683485c0e69f4f1d49c63f6be6a7 (diff) | |
parent | a8fbd082fee75eeaf3da5a2f98344be4e8871753 (diff) |
Merge pull request #16748 from Chaosus/fixscriptpreview
Fix script previews
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/editor_preview_plugins.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/editor_preview_plugins.cpp b/editor/plugins/editor_preview_plugins.cpp index 5197d3d888..47d730cdf1 100644 --- a/editor/plugins/editor_preview_plugins.cpp +++ b/editor/plugins/editor_preview_plugins.cpp @@ -470,10 +470,10 @@ Ref<Texture> EditorScriptPreviewPlugin::generate(const RES &p_from) { if (EditorSettings::get_singleton()->get("text_editor/theme/color_theme") == "Adaptive") { Ref<Theme> tm = EditorNode::get_singleton()->get_theme_base()->get_theme(); - bg_color = tm->get_color("text_editor/theme/background_color", "Editor"); - keyword_color = tm->get_color("text_editor/theme/keyword_color", "Editor"); - text_color = tm->get_color("text_editor/theme/text_color", "Editor"); - symbol_color = tm->get_color("text_editor/theme/symbol_color", "Editor"); + bg_color = tm->get_color("text_editor/highlighting/background_color", "Editor"); + keyword_color = tm->get_color("text_editor/highlighting/keyword_color", "Editor"); + text_color = tm->get_color("text_editor/highlighting/text_color", "Editor"); + symbol_color = tm->get_color("text_editor/highlighting/symbol_color", "Editor"); } img->lock(); |