diff --git a/app/components/draft/QueueSection.tsx b/app/components/draft/QueueSection.tsx index deb9fb5..8011aa0 100644 --- a/app/components/draft/QueueSection.tsx +++ b/app/components/draft/QueueSection.tsx @@ -1,4 +1,5 @@ import { memo } from "react"; +import { GripVertical } from "lucide-react"; import { Button } from "~/components/ui/button"; import { Badge } from "~/components/ui/badge"; import { AutodraftSettings } from "~/components/AutodraftSettings"; @@ -94,21 +95,7 @@ function SortableQueueItem({ {...listeners} className="flex items-center gap-2 flex-shrink-0 cursor-grab active:cursor-grabbing touch-none" > - - - - + {index + 1}
@@ -155,7 +142,9 @@ export const QueueSection = memo(function QueueSection({ onMakePick, }: QueueSectionProps) { const sensors = useSensors( - useSensor(PointerSensor), + useSensor(PointerSensor, { + activationConstraint: { distance: 8 }, + }), useSensor(KeyboardSensor, { coordinateGetter: sortableKeyboardCoordinates, })