[256] Klassen-Füllung im Ebenen-Editor bearbeitbar (Farbwähler + keine, auch im macOS-Ebenenfenster)
This commit is contained in:
9 files changed
+87
-4
No files matched your search
@@ -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 })),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user