[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:
7 files changed
+25
-16
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user