summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-11-16 00:42:25 +0100
committerGitHub <noreply@github.com>2021-11-16 00:42:25 +0100
commit53ae45f657b63a7e9c122f8db27f5f9b5f8dda98 (patch)
tree44c471d91ec701abd0d615a51c0778bb2731c1f7
parent6715bc7754ccaed7fdd3fa383a4ba92b9bbdf551 (diff)
parent14d8ea767d15eb06e45d1ee9d8935a03fcfbc657 (diff)
Merge pull request #55010 from Calinou/shader-editor-tweak-builtin-color
-rw-r--r--editor/plugins/shader_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp
index 3ab0d60336..6032267717 100644
--- a/editor/plugins/shader_editor_plugin.cpp
+++ b/editor/plugins/shader_editor_plugin.cpp
@@ -143,10 +143,10 @@ void ShaderTextEditor::_load_theme_settings() {
}
}
- const Color member_variable_color = EDITOR_GET("text_editor/theme/highlighting/member_variable_color");
+ const Color user_type_color = EDITOR_GET("text_editor/theme/highlighting/user_type_color");
for (const String &E : built_ins) {
- syntax_highlighter->add_keyword_color(E, member_variable_color);
+ syntax_highlighter->add_keyword_color(E, user_type_color);
}
// Colorize comments.