You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@@ -683,7 +683,7 @@ void GDScriptSyntaxHighlighter::_update_cache() {
|
||||
}
|
||||
}
|
||||
|
||||
const String text_edit_color_theme = EditorSettings::get_singleton()->get("text_editor/theme/color_theme");
|
||||
const String text_edit_color_theme = EDITOR_GET("text_editor/theme/color_theme");
|
||||
const bool godot_2_theme = text_edit_color_theme == "Godot 2";
|
||||
|
||||
if (godot_2_theme || EditorSettings::get_singleton()->is_dark_theme()) {
|
||||
|
||||
Reference in New Issue
Block a user