diff --git a/src/components/layout/MainLayout.tsx b/src/components/layout/MainLayout.tsx index ae9c7db0..df232b93 100644 --- a/src/components/layout/MainLayout.tsx +++ b/src/components/layout/MainLayout.tsx @@ -122,12 +122,6 @@ export function MainLayout({ children, currentPage, onPageChange }: MainLayoutPr role="toolbar" data-tauri-drag-region className="flex-1 h-full" - onMouseDown={(e) => { - if (e.button === 0) { - e.preventDefault(); - getCurrentWindow().startDragging(); - } - }} onDoubleClick={() => getCurrentWindow().toggleMaximize()} /> {/* Window controls — NOT inside the drag region */}