diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-03-13 13:48:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 13:48:33 +0100 |
commit | eb503fb461f996ae9fb56c0525abed784e9ed8db (patch) | |
tree | 8f24768a6cbf7e434109592e1e5d6642ab8d4165 | |
parent | 17a130cbd153be806c3e18c5d3098f256f050bda (diff) | |
parent | 671f8eb7901e731d7fe924258e70dcc873ba6b9c (diff) |
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
-rw-r--r-- | editor/project_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 341a2f519d..b4dc235034 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -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); |