[193] Gelände & Co.: Höhen-Befehle im Kern, Maus-Ziehen für Kontext-Elemente, Höhenlinien-Punkte als Griffe, Entf auf Ansichts-Schlagschatten

This commit is contained in:
Claude committed 2026-11-11 23:10:13 +00:00
1 parent c6dd5ce91d
commit 9200eb4efe
24 files changed
+530 -71

No files matched your search

+6
View File
@@ -49,4 +49,10 @@ describe("selectAllIds", () => {
const ogWall = p.walls.find((w) => w.floorId === "og")!;
expect(ids.walls).not.toContain(ogWall.id);
});
it("wählt den Schlagschatten einer Ansicht mit (Entf schaltet ihn ab), solange er eingeschaltet ist", () => {
expect(selectAllIds(p, "ansicht-sued").site).toEqual(["viewShadows"]);
const off = { ...p, drawingLevels: p.drawingLevels.map((l) => (l.id === "ansicht-sued" ? { ...l, shadows: false } : l)) };
expect(selectAllIds(off, "ansicht-sued").site).toEqual([]);
});
});