[256] Klassen-Füllung im Ebenen-Editor bearbeitbar (Farbwähler + keine, auch im macOS-Ebenenfenster)

This commit is contained in:
Claude committed 2026-11-14 07:01:45 +00:00
1 parent 9a796ac7d6
commit a1fb4fc134
9 files changed
+87 -4

No files matched your search

+2
View File
@@ -33,6 +33,7 @@ export interface LayerSettingsSyncState {
name: string;
color: string;
lw: number;
fill: string | undefined;
hatchId: string | undefined;
hatches: { id: string; name: string }[];
}
@@ -71,6 +72,7 @@ function stateFor(project: Pick<Project, "layers" | "hatches">, code: string): L
name: cat.name,
color: cat.color,
lw: cat.lw,
fill: cat.fill,
hatchId: cat.hatch,
hatches: project.hatches.map((h: HatchStyle) => ({ id: h.id, name: h.name })),
};