Refine editor frame services seam

This commit is contained in:
2026-04-29 14:31:55 +08:00
parent 212d4016e0
commit 749417989a
16 changed files with 77 additions and 112 deletions

View File

@@ -247,7 +247,12 @@ bool Application::Initialize(HINSTANCE hInstance, int nCmdShow) {
*m_resourceService,
*m_windowHostRuntime,
std::move(workspaceShellRuntimeFactory),
App::CreateEditorUtilityWindowPanel);
[this](App::EditorUtilityWindowKind kind) {
return App::CreateEditorUtilityWindowPanel(
kind,
m_editorContext->GetColorPickerToolState(),
m_editorContext->GetSceneRuntime());
});
m_editorContext->SetExitRequestHandler([this]() {
if (m_windowManager == nullptr) {