adjust windows scaling settings, fixes #194

This commit is contained in:
FTCHD
2026-08-15 16:37:23 +03:00
parent a0c4525703
commit f3fd4865fe
4 changed files with 32 additions and 11 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import { invoke } from '@tauri-apps/api/core'
import { WebviewWindow } from '@tauri-apps/api/webviewWindow'
import { platform } from '@tauri-apps/plugin-os'
export async function openFullWindow({
name,
@@ -20,7 +19,7 @@ export async function openWindow({
name,
url,
width = 840,
height = platform() === 'windows' ? 755 : 725,
height = 725,
}: {
name: string
url: string