[182] [149] Grundriss-Knopf nur im Grundriss-Reiter hervorgehoben, toter Auto-Schnitt im 3D entfernt; TODO [149] auf Stand (Auswahlrechteck/Beschriftung waren schon gebaut)

This commit is contained in:
Claude committed 2026-11-11 01:55:29 +00:00
1 parent 1419679963
commit ec77d07300
7 files changed
+25 -16

No files matched your search

+8
View File
@@ -14,6 +14,7 @@ import {
navigateToLevel,
switchViewKind,
tabKindOf,
isPlanKindActive,
openTab,
restoreViewTabs,
restoreViewTabsFromProject,
@@ -199,6 +200,13 @@ describe("Reiter-Arten und Navigation [182]", () => {
expect(tabKindOf(undefined, levels)).toBeNull();
});
it("isPlanKindActive: Grundriss-Knopf nur im Grundriss-Reiter hervorgehoben", () => {
expect(isPlanKindActive("grundriss", "floor")).toBe(true);
expect(isPlanKindActive("grundriss", "section")).toBe(false);
expect(isPlanKindActive("grundriss", "elevation")).toBe(false);
expect(isPlanKindActive("perspektive", "floor")).toBe(false);
});
it("Geschoss im 3D-Reiter: nur Geschoss wechselt, kein neuer Reiter", () => {
const s = one();
const r = navigateToLevel(s, live("eg", "perspektive"), levels, "og");