[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

+4
View File
@@ -12,6 +12,7 @@ import type { DrawingLevel, LayerCategory } from "../model/types";
import { getState, useStore } from "../state/appStore";
import { EditorField } from "../ui/EditorField";
import { HatchSwatch } from "../ui/hatchPreview";
import { OptionalColorField } from "../ui/OptionalColorField";
import { PenColorField } from "../ui/PenColorField";
import { InlineEditor } from "../views/InlineEditor";
@@ -82,6 +83,9 @@ export function LayerInlineEditor({
<span className="editor-unit">{t("editor.unit.mm")}</span>
</span>
</EditorField>
<EditorField label={t("editor.fill")}>
<OptionalColorField value={cat.fill} onChange={(fill) => patchCategory(cat.code, { fill })} />
</EditorField>
<EditorField label={t("editor.hatch")}>
<span className="editor-hatch">
<select