You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Add framework for avoidance of color flash in new windows
This commit is contained in:
@@ -753,6 +753,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
// Editor background
|
||||
Color background_color_opaque = background_color;
|
||||
background_color_opaque.a = 1.0;
|
||||
theme->set_color("background", "Editor", background_color_opaque);
|
||||
theme->set_stylebox("Background", "EditorStyles", make_flat_stylebox(background_color_opaque, default_margin_size, default_margin_size, default_margin_size, default_margin_size));
|
||||
|
||||
// Focus
|
||||
|
||||
Reference in New Issue
Block a user