Skip to content

Commit dd099ee

Browse files
committed
🩹 fix preview problem
1 parent 7574d7a commit dd099ee

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

‎src-tauri/src/preview.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ pub async fn init_window(app: &AppHandle) -> tauri::Result<Window> {
6363
if !window.is_devtools_open() {
6464
window.open_devtools()
6565
}
66-
66+
window.set_focus()?;
6767
Ok(window)
6868
}

‎src-tauri/tauri.conf.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
{
4949
"fullscreen": false,
5050
"resizable": false,
51-
"alwaysOnTop": true,
5251
"title": "UnityExtractor",
5352
"width": 328,
5453
"height": 648

‎src/Page/Preview.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const meta = computed(() => {
8181
<v-card-subtitle>
8282
{{ description }} | {{ meta.join(", ") }}
8383
</v-card-subtitle>
84-
<v-card-text class="align-center pa-2" style="flex-grow: 1">
84+
<v-card-text class="align-center pa-2 h-0" style="flex: 1">
8585
<v-row
8686
:id="
8787
previewMode == PreviewMode.Image
@@ -90,7 +90,7 @@ const meta = computed(() => {
9090
"
9191
align="center"
9292
align-content="center"
93-
class="fill-height ma-0"
93+
class="h-100 ma-0 pa-1"
9494
justify="center"
9595
no-gutters
9696
>

0 commit comments

Comments
 (0)