Merge pull request #55010 from Calinou/shader-editor-tweak-builtin-color

This commit is contained in:
Rémi Verschelde 2021-11-16 00:42:25 +01:00 committed by GitHub
commit 53ae45f657
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.