diff --git a/app/queue/page.tsx b/app/queue/page.tsx index 0f8a56f..c3d6a09 100644 --- a/app/queue/page.tsx +++ b/app/queue/page.tsx @@ -56,56 +56,62 @@ function SortableQueueItem({ track, index, onPlay, onRemove, formatDuration }: S
{/* Drag Handle */}
e.stopPropagation()} + onMouseDown={(e) => e.stopPropagation()} >
- {/* Album Art with Play Indicator */} -
- {track.album} -
- -
-
- - {/* Song Info */} -
-
-

{track.name}

-
-
-
- e.stopPropagation()} - > - {track.artist} - + {/* Clickable content area for play */} +
+ {/* Album Art with Play Indicator */} +
+ {track.album} +
+
-
- {/* Duration */} -
- {formatDuration(track.duration)} + {/* Song Info */} +
+
+

{track.name}

+
+
+
+ e.stopPropagation()} + > + {track.artist} + +
+
+
+ + {/* Duration */} +
+ {formatDuration(track.duration)} +
{/* Actions */} @@ -130,7 +136,11 @@ const QueuePage: React.FC = () => { const { queue, currentTrack, removeTrackFromQueue, clearQueue, skipToTrackInQueue, reorderQueue } = useAudioPlayer(); const sensors = useSensors( - useSensor(PointerSensor), + useSensor(PointerSensor, { + activationConstraint: { + distance: 8, // Require 8px of movement before starting drag + }, + }), useSensor(KeyboardSensor, { coordinateGetter: sortableKeyboardCoordinates, })