Browse Source

fix: rotate color fan 20° anti-clockwise to wrap around menu corner

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
handoff-20260429-1057
shrimbly 4 months ago
parent
commit
18940eaee1
  1. 2
      src/components/GroupsOverlay.tsx

2
src/components/GroupsOverlay.tsx

@ -369,7 +369,7 @@ function GroupControls({ groupId, zoom }: GroupControlsProps) {
{COLOR_OPTIONS.map(({ color, label }, index) => { {COLOR_OPTIONS.map(({ color, label }, index) => {
const totalItems = COLOR_OPTIONS.length; const totalItems = COLOR_OPTIONS.length;
const arcSpread = 150; const arcSpread = 150;
const startAngle = -90 - arcSpread / 2; const startAngle = -110 - arcSpread / 2;
const angleStep = arcSpread / (totalItems - 1); const angleStep = arcSpread / (totalItems - 1);
const angle = startAngle + index * angleStep; const angle = startAngle + index * angleStep;
const radius = 55; const radius = 55;

Loading…
Cancel
Save