mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Ensure that editor color map is initialized in the project manager
This commit is contained in:
parent
17a130cbd1
commit
671f8eb790
1 changed files with 2 additions and 1 deletions
|
|
@ -2682,10 +2682,11 @@ ProjectManager::ProjectManager() {
|
||||||
AcceptDialog::set_swap_cancel_ok(swap_cancel_ok == 2);
|
AcceptDialog::set_swap_cancel_ok(swap_cancel_ok == 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EditorColorMap::create();
|
||||||
Ref<Theme> theme = create_custom_theme();
|
Ref<Theme> theme = create_custom_theme();
|
||||||
set_theme(theme);
|
|
||||||
DisplayServer::set_early_window_clear_color_override(true, theme->get_color(SNAME("background"), SNAME("Editor")));
|
DisplayServer::set_early_window_clear_color_override(true, theme->get_color(SNAME("background"), SNAME("Editor")));
|
||||||
|
|
||||||
|
set_theme(theme);
|
||||||
set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
|
set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
|
||||||
|
|
||||||
Panel *panel = memnew(Panel);
|
Panel *panel = memnew(Panel);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue