feat: 迁移BimEngine到radial+dock并完善测量/剖切/漫游面板
This commit is contained in:
@@ -144,13 +144,25 @@ export class BottomDockManager extends BaseManager {
|
||||
this.register({
|
||||
id: 'section',
|
||||
title: '剖切',
|
||||
createContent: () => this.stack.createPlaceholderContent('剖切面板占位')
|
||||
createContent: () => {
|
||||
const sectionPanel = this.registry.sectionDock?.getPanelElement();
|
||||
if (sectionPanel) {
|
||||
return sectionPanel;
|
||||
}
|
||||
return this.stack.createPlaceholderContent('剖切面板占位');
|
||||
}
|
||||
});
|
||||
|
||||
this.register({
|
||||
id: 'walk',
|
||||
title: '漫游',
|
||||
createContent: () => this.stack.createPlaceholderContent('漫游面板占位')
|
||||
createContent: () => {
|
||||
const walkPanel = this.registry.walkDock?.getPanelElement();
|
||||
if (walkPanel) {
|
||||
return walkPanel;
|
||||
}
|
||||
return this.stack.createPlaceholderContent('漫游面板占位');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user