From a391f42f9ce789d29e72057fefcda7db8d76c4bb Mon Sep 17 00:00:00 2001 From: onevcat Date: Sun, 3 May 2026 23:09:53 +0900 Subject: [PATCH] End sidebar drag before applying drop --- supacode/Features/Repositories/Views/SidebarDragSupport.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supacode/Features/Repositories/Views/SidebarDragSupport.swift b/supacode/Features/Repositories/Views/SidebarDragSupport.swift index 6a333743..05ad6c01 100644 --- a/supacode/Features/Repositories/Views/SidebarDragSupport.swift +++ b/supacode/Features/Repositories/Views/SidebarDragSupport.swift @@ -114,8 +114,8 @@ struct SidebarRepositoryDropDelegate: DropDelegate { actions.onDragEnded() return false } - actions.onDrop(IndexSet(integer: source), dropDestination) actions.onDragEnded() + actions.onDrop(IndexSet(integer: source), dropDestination) return true } } @@ -185,8 +185,8 @@ struct SidebarWorktreeDropDelegate: DropDelegate { actions.onDragEnded() return false } - actions.onDrop(IndexSet(integer: source), dropDestination) actions.onDragEnded() + actions.onDrop(IndexSet(integer: source), dropDestination) return true } } -- 2.51.2