diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 0544b1312..fd73a02b3 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -8,6 +8,7 @@ }, "permissions": [ "core:default", + "core:window:allow-start-dragging", "shell:allow-spawn", "shell:allow-open", "log:default", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 51e65133a..a0768abc1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -14,8 +14,8 @@ "windows": [ { "title": "Jan", - "width": 1000, - "height": 700, + "width": 1024, + "height": 768, "resizable": true, "fullscreen": false, "hiddenTitle": true, diff --git a/web/containers/Layout/TopPanel/index.tsx b/web/containers/Layout/TopPanel/index.tsx index a00c2d22c..386c315de 100644 --- a/web/containers/Layout/TopPanel/index.tsx +++ b/web/containers/Layout/TopPanel/index.tsx @@ -70,9 +70,13 @@ const TopPanel = () => { reduceTransparent && 'border-b border-[hsla(var(--app-border))] bg-[hsla(var(--top-panel-bg))]' )} + data-tauri-drag-region > {!isMac && } -
+
{!isMac && (