diff --git a/src/components/GroupsOverlay.tsx b/src/components/GroupsOverlay.tsx index 93ea10e1..65946afa 100644 --- a/src/components/GroupsOverlay.tsx +++ b/src/components/GroupsOverlay.tsx @@ -346,81 +346,81 @@ function GroupControls({ groupId, zoom }: GroupControlsProps) { {/* Vertical context menu - appears above the three-dot button */} {showMenu && ( -
- {/* Background color row */} -
- - {showColorPicker && ( - <> -
setShowColorPicker(false)} - /> -
- {COLOR_OPTIONS.map(({ color, label }, index) => { - const totalItems = COLOR_OPTIONS.length; - const arcSpread = 180; - const startAngle = -130 - arcSpread / 2; - const angleStep = arcSpread / (totalItems - 1); - const angle = startAngle + index * angleStep; - const radius = 55; - const rad = (angle * Math.PI) / 180; - const x = Math.cos(rad) * radius; - const y = Math.sin(rad) * radius; - const finalX = x; - const finalY = y - 12; - - return ( - - ); - })} -
- - )} -
+ 100% { + opacity: 1; + left: ${finalX - 12}px; + top: ${finalY - 12}px; + transform: scale(1); + } + } + `} + + ); + })} +
+ + )} + + {/* Background color row */} + {/* Lock/Unlock row */}