From f5addd583d695f6441215153b7fa3b0ce8118c9f Mon Sep 17 00:00:00 2001 From: bitsawer Date: Thu, 6 Jul 2023 17:56:26 +0300 Subject: [PATCH] Make shader preprocessor keyword colors consistent (cherry picked from commit a5d61529499f162ea659f2f16a0587dcc68140f7) --- editor/plugins/text_shader_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/text_shader_editor.cpp b/editor/plugins/text_shader_editor.cpp index 791746da96d..0c8907d6a0d 100644 --- a/editor/plugins/text_shader_editor.cpp +++ b/editor/plugins/text_shader_editor.cpp @@ -238,7 +238,7 @@ void ShaderTextEditor::_load_theme_settings() { ShaderPreprocessor::get_keyword_list(&pp_keywords, false); for (const String &E : pp_keywords) { - syntax_highlighter->add_keyword_color(E, keyword_color); + syntax_highlighter->add_keyword_color(E, control_flow_keyword_color); } // Colorize built-ins like `COLOR` differently to make them easier