-
e.stopPropagation()}
- >
- {track.artist}
-
+ {/* Clickable content area for play */}
+
+ {/* Album Art with Play Indicator */}
+
-
- {/* Duration */}
-
- {formatDuration(track.duration)}
+ {/* Song Info */}
+
+
+
+
+ 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,
})