Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(desktop): disable window-chrome layout as titlebar drag region

Richie McIlroyb4f7b4fad46d
diff --git a/apps/desktop/src/routes/(window-chrome).tsx b/apps/desktop/src/routes/(window-chrome).tsx
index 43f505a84..e9c1c8694 100644
--- a/apps/desktop/src/routes/(window-chrome).tsx
+++ b/apps/desktop/src/routes/(window-chrome).tsx
@@ -100,7 +100,10 @@ function Inner(props: ParentProps) {
});
return (
- <div class="flex overflow-y-hidden flex-col flex-1 animate-in fade-in">
+ <div
+ data-tauri-drag-region="none"
+ class="flex overflow-y-hidden flex-col flex-1 animate-in fade-in"
+ >
{props.children}
</div>
);