diff options
author | Yuri Sizov <yuris@humnom.net> | 2023-09-14 15:21:45 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-09-14 15:21:45 +0200 |
commit | 56e54b49b65c0feb4368ec88a89c2d40af1b4ad3 (patch) | |
tree | 3089a9a0bbdd637b2bc816fc5d1f46ec6608f41b /scene/resources/syntax_highlighter.cpp | |
parent | ded139384e5a478a3f942a463f341b53a3f6fffd (diff) | |
parent | fe000277eaea77bb19ca0c5dae650ab4f76ccef0 (diff) | |
download | redot-engine-56e54b49b65c0feb4368ec88a89c2d40af1b4ad3.tar.gz |
Merge pull request #81551 from YuriSizov/gui-cache-all-the-theme
Bind remaining theme properties to their respective classes
Diffstat (limited to 'scene/resources/syntax_highlighter.cpp')
-rw-r--r-- | scene/resources/syntax_highlighter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/syntax_highlighter.cpp b/scene/resources/syntax_highlighter.cpp index 903be41c26..aa311baa43 100644 --- a/scene/resources/syntax_highlighter.cpp +++ b/scene/resources/syntax_highlighter.cpp @@ -419,7 +419,7 @@ void CodeHighlighter::_clear_highlighting_cache() { } void CodeHighlighter::_update_cache() { - font_color = text_edit->get_theme_color(SNAME("font_color")); + font_color = text_edit->theme_cache.font_color; } void CodeHighlighter::add_keyword_color(const String &p_keyword, const Color &p_color) { |