[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
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user