[dyad] Fixing position grid point sizes - wrote 1 file(s)

This commit is contained in:
[dyad]
2026-01-18 18:24:21 +01:00
parent 98c932415e
commit 672a88fc02

View File

@@ -39,9 +39,12 @@ export function ObjectPositionControl({ value, onChange }: ObjectPositionControl
)}
aria-label={`Set object position to ${pos.replace(' ', ' ')}`}
>
{value === pos && (
<div className="w-2 h-2 rounded-full bg-primary ring-1 ring-primary-foreground" />
)}
<div
className={cn(
"w-2 h-2 rounded-full transition-colors",
value === pos ? "bg-primary ring-1 ring-primary-foreground" : "bg-muted-foreground/20"
)}
/>
</button>
))}
</div>