high dpi detection

This commit is contained in:
booploops 2021-12-26 23:47:33 -08:00
parent f8b4827cf2
commit 997847e146
3 changed files with 6 additions and 3 deletions

View file

@ -2574,4 +2574,3 @@ webGPU().then()
let screenWidth = screen.width;
let screenHeight = screen.height;
ipcRenderer.send("setScreenScale" , (screenHeight * 16 / 9) / (1536))