1
0
Fork 0

Merge pull request #74750 from YuriSizov/project-manager-lighten-up-4.0

[4.0] Ensure that editor color map is initialized in the project manager
This commit is contained in:
Yuri Sizov 2023-03-13 13:48:33 +01:00 committed by GitHub
commit eb503fb461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -2682,10 +2682,11 @@ ProjectManager::ProjectManager() {
AcceptDialog::set_swap_cancel_ok(swap_cancel_ok == 2);
}
EditorColorMap::create();
Ref<Theme> theme = create_custom_theme();
set_theme(theme);
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);
Panel *panel = memnew(Panel);