chore: enable shortcut zoom (#5261)
* chore: enable shortcut zoom * chore: update shortcut setting
This commit is contained in:
parent
72aa39d67f
commit
2b8c448be4
@ -2,16 +2,13 @@
|
|||||||
"$schema": "../gen/schemas/desktop-schema.json",
|
"$schema": "../gen/schemas/desktop-schema.json",
|
||||||
"identifier": "default",
|
"identifier": "default",
|
||||||
"description": "enables the default permissions",
|
"description": "enables the default permissions",
|
||||||
"windows": [
|
"windows": ["main"],
|
||||||
"main"
|
|
||||||
],
|
|
||||||
"remote": {
|
"remote": {
|
||||||
"urls": [
|
"urls": ["http://*"]
|
||||||
"http://*"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"core:default",
|
"core:default",
|
||||||
|
"core:webview:allow-set-webview-zoom",
|
||||||
"core:window:allow-start-dragging",
|
"core:window:allow-start-dragging",
|
||||||
"core:window:allow-set-theme",
|
"core:window:allow-set-theme",
|
||||||
"shell:allow-spawn",
|
"shell:allow-spawn",
|
||||||
@ -81,9 +78,7 @@
|
|||||||
{
|
{
|
||||||
"identifier": "opener:allow-open-url",
|
"identifier": "opener:allow-open-url",
|
||||||
"description": "opens the default permissions for the core module",
|
"description": "opens the default permissions for the core module",
|
||||||
"windows": [
|
"windows": ["*"],
|
||||||
"*"
|
|
||||||
],
|
|
||||||
"allow": [
|
"allow": [
|
||||||
{
|
{
|
||||||
"url": "https://*"
|
"url": "https://*"
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
"macOSPrivateApi": true,
|
"macOSPrivateApi": true,
|
||||||
"windows": [
|
"windows": [
|
||||||
{
|
{
|
||||||
|
"zoomHotkeysEnabled": true,
|
||||||
"label": "main",
|
"label": "main",
|
||||||
"title": "Jan",
|
"title": "Jan",
|
||||||
"width": 1024,
|
"width": 1024,
|
||||||
|
|||||||
@ -47,6 +47,28 @@ function Shortcuts() {
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<CardItem
|
||||||
|
title="Zoom In"
|
||||||
|
description="Increase the zoom level"
|
||||||
|
actions={
|
||||||
|
<div className="flex items-center justify-center px-3 py-1 bg-main-view-fg/5 rounded-md">
|
||||||
|
<span className="font-medium">
|
||||||
|
<PlatformMetaKey /> +
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
<CardItem
|
||||||
|
title="Zoom Out"
|
||||||
|
description="Decrease the zoom level"
|
||||||
|
actions={
|
||||||
|
<div className="flex items-center justify-center px-3 py-1 bg-main-view-fg/5 rounded-md">
|
||||||
|
<span className="font-medium">
|
||||||
|
<PlatformMetaKey /> -
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
/>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
{/* Chat */}
|
{/* Chat */}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user