fix: keep suppressProjectClickAfterDragRef true on drag cancel to prevent unintended toggle

Co-authored-by: Julius Marminge <[email protected]>

Applied via @cursor push command
This commit is contained in:
Cursor AgentandJulius Marminge authored and Julius Marminge committed 2026-03-09 15:08:10 -07:00
1 parent e42036485f
commit 9fb9467ed1
1 file changed
-1
-1
View File
@@ -872,7 +872,6 @@ export default function Sidebar() {
const handleProjectDragCancel = useCallback((_event: DragCancelEvent) => {
dragInProgressRef.current = false;
suppressProjectClickAfterDragRef.current = false;
}, []);
const handleProjectTitlePointerDownCapture = useCallback(() => {