diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 2dd5925c3..76c9bc567 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -2,16 +2,13 @@ "$schema": "../gen/schemas/desktop-schema.json", "identifier": "default", "description": "enables the default permissions", - "windows": [ - "main" - ], + "windows": ["main"], "remote": { - "urls": [ - "http://*" - ] + "urls": ["http://*"] }, "permissions": [ "core:default", + "core:webview:allow-set-webview-zoom", "core:window:allow-start-dragging", "core:window:allow-set-theme", "shell:allow-spawn", @@ -81,9 +78,7 @@ { "identifier": "opener:allow-open-url", "description": "opens the default permissions for the core module", - "windows": [ - "*" - ], + "windows": ["*"], "allow": [ { "url": "https://*" @@ -98,4 +93,4 @@ }, "store:default" ] -} \ No newline at end of file +} diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 545873172..1810c0661 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -13,6 +13,7 @@ "macOSPrivateApi": true, "windows": [ { + "zoomHotkeysEnabled": true, "label": "main", "title": "Jan", "width": 1024, diff --git a/web-app/src/routes/settings/shortcuts.tsx b/web-app/src/routes/settings/shortcuts.tsx index ae28acae0..2d46ad7c2 100644 --- a/web-app/src/routes/settings/shortcuts.tsx +++ b/web-app/src/routes/settings/shortcuts.tsx @@ -47,6 +47,28 @@ function Shortcuts() { } /> + + + + + + + } + /> + + + - + + + } + /> {/* Chat */}