You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Added high-end (Vulkan) label to some functions in visual shader
This commit is contained in:
@@ -409,6 +409,11 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
theme->set_color("error_color", "Editor", error_color);
|
||||
theme->set_color("property_color", "Editor", property_color);
|
||||
|
||||
if (!dark_theme) {
|
||||
theme->set_color("vulkan_color", "Editor", Color::hex(0xad1128ff));
|
||||
} else {
|
||||
theme->set_color("vulkan_color", "Editor", Color(1.0, 0.0, 0.0));
|
||||
}
|
||||
const int thumb_size = EDITOR_GET("filesystem/file_dialog/thumbnail_size");
|
||||
theme->set_constant("scale", "Editor", EDSCALE);
|
||||
theme->set_constant("thumb_size", "Editor", thumb_size);
|
||||
|
||||
Reference in New Issue
Block a user