feat(web-platform): release V0.9.3 全模块界面重构
This commit is contained in:
@@ -105,7 +105,10 @@ export function ModelControlsSidebar(props: ModelControlsProps) {
|
||||
{props.workspaceTool ? (
|
||||
props.workspaceTools
|
||||
) : (
|
||||
<div className="p-4 text-sm text-text-tertiary">导入模型后显示检查器</div>
|
||||
<div className="m-2.5 flex h-14 items-center justify-center gap-2 border border-dashed border-border-subtle text-xs text-text-tertiary">
|
||||
<PanelRight className="h-4 w-4" aria-hidden="true" />
|
||||
检查器待命
|
||||
</div>
|
||||
)}
|
||||
</SidebarPanel>
|
||||
);
|
||||
@@ -231,7 +234,6 @@ export function ModelControlsSidebar(props: ModelControlsProps) {
|
||||
onBaseMode={props.onBaseMode}
|
||||
onShowCollision={props.onShowCollision}
|
||||
/>
|
||||
{props.mapSelection.kind === 'none' && mapPanel}
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -247,7 +249,9 @@ export function ModelControlsSidebar(props: ModelControlsProps) {
|
||||
>
|
||||
{inspector}
|
||||
</div>
|
||||
{props.workspaceTool && props.workspaceTools}
|
||||
<div hidden={!props.workspaceTool} className="min-h-0 flex-1 overflow-auto panel-scroll">
|
||||
{props.workspaceTools}
|
||||
</div>
|
||||
</SidebarPanel>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user