formatting

This commit is contained in:
Josh Hawkins 2026-03-16 13:17:17 -05:00
parent 3a08b3d54b
commit b1081d7217

View File

@ -311,8 +311,8 @@ export default function MasksAndZonesView({
const zones: Polygon[] = []; const zones: Polygon[] = [];
for (const [name, { data: zoneData, source }] of mergedZones) { for (const [name, { data: zoneData, source }] of mergedZones) {
const isBase = source === "base" && !!currentEditingProfile; const isBase = source === "base" && !!currentEditingProfile;
const baseColor = const baseColor = zoneData.color ??
zoneData.color ?? baseZones[name]?.color ?? [128, 128, 0]; baseZones[name]?.color ?? [128, 128, 0];
zones.push({ zones.push({
type: "zone" as PolygonType, type: "zone" as PolygonType,
typeIndex: zoneIndex, typeIndex: zoneIndex,