adjust windows scaling settings, fixes #194
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user