diff --git a/src-tauri/capabilities/SubWindow.json b/src-tauri/capabilities/SubWindow.json index 4ebdb4a9..220e3f2f 100644 --- a/src-tauri/capabilities/SubWindow.json +++ b/src-tauri/capabilities/SubWindow.json @@ -28,6 +28,7 @@ "core:window:allow-destroy", "core:window:allow-set-size", "core:window:allow-set-title", + "core:window:allow-set-focus", "core:window:allow-set-fullscreen", "core:window:allow-show", "core:window:default", diff --git a/src-tauri/gen/schemas/acl-manifests.json b/src-tauri/gen/schemas/acl-manifests.json index 1fac008e..37022488 100644 --- a/src-tauri/gen/schemas/acl-manifests.json +++ b/src-tauri/gen/schemas/acl-manifests.json @@ -701,6 +701,7 @@ "identifier": "default", "description": "Default permissions for the plugin.", "permissions": [ + "allow-get-all-webviews", "allow-webview-position", "allow-webview-size", "allow-internal-toggle-devtools" @@ -717,6 +718,11 @@ "description": "Enables the create_webview_window command without any pre-configured scope.", "commands": { "allow": ["create_webview_window"], "deny": [] } }, + "allow-get-all-webviews": { + "identifier": "allow-get-all-webviews", + "description": "Enables the get_all_webviews command without any pre-configured scope.", + "commands": { "allow": ["get_all_webviews"], "deny": [] } + }, "allow-internal-toggle-devtools": { "identifier": "allow-internal-toggle-devtools", "description": "Enables the internal_toggle_devtools command without any pre-configured scope.", @@ -777,6 +783,11 @@ "description": "Denies the create_webview_window command without any pre-configured scope.", "commands": { "allow": [], "deny": ["create_webview_window"] } }, + "deny-get-all-webviews": { + "identifier": "deny-get-all-webviews", + "description": "Denies the get_all_webviews command without any pre-configured scope.", + "commands": { "allow": [], "deny": ["get_all_webviews"] } + }, "deny-internal-toggle-devtools": { "identifier": "deny-internal-toggle-devtools", "description": "Denies the internal_toggle_devtools command without any pre-configured scope.", @@ -836,6 +847,7 @@ "identifier": "default", "description": "Default permissions for the plugin.", "permissions": [ + "allow-get-all-windows", "allow-scale-factor", "allow-inner-position", "allow-outer-position", @@ -897,6 +909,11 @@ "description": "Enables the destroy command without any pre-configured scope.", "commands": { "allow": ["destroy"], "deny": [] } }, + "allow-get-all-windows": { + "identifier": "allow-get-all-windows", + "description": "Enables the get_all_windows command without any pre-configured scope.", + "commands": { "allow": ["get_all_windows"], "deny": [] } + }, "allow-hide": { "identifier": "allow-hide", "description": "Enables the hide command without any pre-configured scope.", @@ -1222,6 +1239,11 @@ "description": "Denies the destroy command without any pre-configured scope.", "commands": { "allow": [], "deny": ["destroy"] } }, + "deny-get-all-windows": { + "identifier": "deny-get-all-windows", + "description": "Denies the get_all_windows command without any pre-configured scope.", + "commands": { "allow": [], "deny": ["get_all_windows"] } + }, "deny-hide": { "identifier": "deny-hide", "description": "Denies the hide command without any pre-configured scope.", diff --git a/src-tauri/gen/schemas/capabilities.json b/src-tauri/gen/schemas/capabilities.json index 392ed760..95962df3 100644 --- a/src-tauri/gen/schemas/capabilities.json +++ b/src-tauri/gen/schemas/capabilities.json @@ -95,6 +95,7 @@ "core:window:allow-destroy", "core:window:allow-set-size", "core:window:allow-set-title", + "core:window:allow-set-focus", "core:window:allow-set-fullscreen", "core:window:allow-show", "core:window:default", diff --git a/src-tauri/gen/schemas/desktop-schema.json b/src-tauri/gen/schemas/desktop-schema.json index 7a13dadc..968f579a 100644 --- a/src-tauri/gen/schemas/desktop-schema.json +++ b/src-tauri/gen/schemas/desktop-schema.json @@ -2458,6 +2458,11 @@ "type": "string", "enum": ["core:webview:allow-create-webview-window"] }, + { + "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.", + "type": "string", + "enum": ["core:webview:allow-get-all-webviews"] + }, { "description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.", "type": "string", @@ -2518,6 +2523,11 @@ "type": "string", "enum": ["core:webview:deny-create-webview-window"] }, + { + "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.", + "type": "string", + "enum": ["core:webview:deny-get-all-webviews"] + }, { "description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.", "type": "string", @@ -2608,6 +2618,11 @@ "type": "string", "enum": ["core:window:allow-destroy"] }, + { + "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.", + "type": "string", + "enum": ["core:window:allow-get-all-windows"] + }, { "description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.", "type": "string", @@ -2933,6 +2948,11 @@ "type": "string", "enum": ["core:window:deny-destroy"] }, + { + "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.", + "type": "string", + "enum": ["core:window:deny-get-all-windows"] + }, { "description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.", "type": "string", diff --git a/src-tauri/gen/schemas/windows-schema.json b/src-tauri/gen/schemas/windows-schema.json index 7a13dadc..968f579a 100644 --- a/src-tauri/gen/schemas/windows-schema.json +++ b/src-tauri/gen/schemas/windows-schema.json @@ -2458,6 +2458,11 @@ "type": "string", "enum": ["core:webview:allow-create-webview-window"] }, + { + "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.", + "type": "string", + "enum": ["core:webview:allow-get-all-webviews"] + }, { "description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.", "type": "string", @@ -2518,6 +2523,11 @@ "type": "string", "enum": ["core:webview:deny-create-webview-window"] }, + { + "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.", + "type": "string", + "enum": ["core:webview:deny-get-all-webviews"] + }, { "description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.", "type": "string", @@ -2608,6 +2618,11 @@ "type": "string", "enum": ["core:window:allow-destroy"] }, + { + "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.", + "type": "string", + "enum": ["core:window:allow-get-all-windows"] + }, { "description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.", "type": "string", @@ -2933,6 +2948,11 @@ "type": "string", "enum": ["core:window:deny-destroy"] }, + { + "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.", + "type": "string", + "enum": ["core:window:deny-get-all-windows"] + }, { "description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.", "type": "string", diff --git a/src/components/userAvatar/tua-detail-overlay.vue b/src/components/userAvatar/tua-detail-overlay.vue index 10f54a27..c3f6353d 100644 --- a/src/components/userAvatar/tua-detail-overlay.vue +++ b/src/components/userAvatar/tua-detail-overlay.vue @@ -124,7 +124,6 @@ function onAvatarClick(avatar: TGApp.Sqlite.Character.UserRole): void { .tdo-avatar { cursor: pointer; - transform: translateY(-10px); } .tdo-card-container { diff --git a/src/pages/User/Characters.vue b/src/pages/User/Characters.vue index 83e0ce29..499b6e54 100644 --- a/src/pages/User/Characters.vue +++ b/src/pages/User/Characters.vue @@ -67,14 +67,16 @@ empty - + + +