Finalize release content

This commit is contained in:
Mohamed Boudra
2026-03-10 17:08:25 +07:00
parent dce7316931
commit 244eed8696
6 changed files with 25 additions and 12 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ export function useTauriDragHandlers() {
// Only handle primary button, ignore if clicking on interactive elements.
// Tauri docs recommend using `e.detail` on mousedown for double-click maximize.
if (e.defaultPrevented) return;
if (typeof e.buttons === "number" ? e.buttons !== 1 : e.button !== 0) return;
if (e.button !== 0) return;
const target = e.target instanceof Element ? e.target : null;
if (target?.closest(NON_DRAGGABLE_SELECTOR)) return;