From cf6733e7fd1484716c17a15f038ce418b7df7b78 Mon Sep 17 00:00:00 2001 From: Jacob Kim Date: Thu, 9 Jul 2026 23:12:04 +0900 Subject: [PATCH] fix: update workspace item drag cursor --- src/components/layout/ProjectWorkspaceSidebar.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/layout/ProjectWorkspaceSidebar.tsx b/src/components/layout/ProjectWorkspaceSidebar.tsx index 1d0b38d..7349e00 100644 --- a/src/components/layout/ProjectWorkspaceSidebar.tsx +++ b/src/components/layout/ProjectWorkspaceSidebar.tsx @@ -1717,7 +1717,8 @@ export function ProjectWorkspaceSidebar(args: { className={cn( "group/project-row flex min-w-0 flex-1 items-center gap-2 rounded-md px-2 py-1 text-left text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-within:bg-sidebar-accent", activatorProps && - "cursor-grab touch-none active:cursor-grabbing", + "cursor-pointer touch-none active:cursor-grabbing", + isDragging && "cursor-grabbing", )} > @@ -1986,7 +1987,9 @@ export function ProjectWorkspaceSidebar(args: { ? "items-start px-3 py-2.5" : "items-center px-3 py-2", activatorProps && - "cursor-grab touch-none active:cursor-grabbing", + "cursor-pointer touch-none active:cursor-grabbing", + isDragging && + "cursor-grabbing", )} onClick={() => { if (