refactor(new_editor): tighten app dependency boundaries
This commit is contained in:
@@ -599,21 +599,6 @@ bool AreUIEditorWorkspaceModelsEquivalent(
|
||||
AreUIEditorWorkspaceNodesEquivalent(lhs.root, rhs.root);
|
||||
}
|
||||
|
||||
UIEditorWorkspaceModel BuildEditorFoundationWorkspaceModel() {
|
||||
const UIEditorPanelRegistry registry = BuildEditorFoundationPanelRegistry();
|
||||
const UIEditorPanelDescriptor& rootPanel =
|
||||
Internal::RequirePanelDescriptor(registry, "editor-foundation-root");
|
||||
|
||||
UIEditorWorkspaceModel workspace = {};
|
||||
workspace.root = BuildUIEditorWorkspaceSingleTabStack(
|
||||
"editor-foundation-root-node",
|
||||
rootPanel.panelId,
|
||||
rootPanel.defaultTitle,
|
||||
rootPanel.placeholder);
|
||||
workspace.activePanelId = rootPanel.panelId;
|
||||
return workspace;
|
||||
}
|
||||
|
||||
UIEditorWorkspaceNode BuildUIEditorWorkspacePanel(
|
||||
std::string nodeId,
|
||||
std::string panelId,
|
||||
|
||||
Reference in New Issue
Block a user