[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

+5 -1
View File
@@ -863,7 +863,11 @@ export function createProjectSlice(
}),
patchCategory: (code, patch) =>
applyChange((p) => fieldOps(p, "layers", patchCategoryByCode(p.layers, code, patch))),
applyChange(
(p) => fieldOps(p, "layers", patchCategoryByCode(p.layers, code, patch)),
// [256] Ziehen im Farbwähler der Klassen-Füllung = ein Undo-Schritt.
Object.keys(patch).length === 1 && "fill" in patch ? `layer-fill:${code}` : undefined,
),
addSubCategory: (parentCode) =>
applyChange((p) => {