diff --git a/src/App.tsx b/src/App.tsx index 3699dc0..7b370f6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -69,7 +69,7 @@ import type { Pick3dHit } from "./viewport/Wasm3DViewport"; import { ResourceManager } from "./ui/ResourceManager"; import type { ResourceManagerHandlers } from "./ui/ResourceManager"; import { HatchSwatch } from "./ui/hatchPreview"; -import { TopBar, ViewRibbonTab } from "./ui/TopBar"; +import { TopBar, ViewRibbonTab, TextGroup } from "./ui/TopBar"; import { RibbonBar } from "./ui/ribbon/RibbonBar"; import type { RibbonTabId } from "./ui/ribbon/ribbonItems"; import { Dropdown } from "./ui/Dropdown"; @@ -3219,7 +3219,6 @@ export default function App() { onApply={(l) => setLayout(reconcileLayout(l))} /> } - textTarget={textTarget} /> {/* Ribbon-Oberleiste (2D · 3D · BIM · Ansichten). Der „Ansichten"-Tab trägt @@ -3232,7 +3231,13 @@ export default function App() { toolsEnabled={activeLevel.kind === "floor"} onSelectTool={onSelectTool} onRunCommand={onRunCommand} - viewsContent={ + tabContent={{ + text: ( +