fix scale

This commit is contained in:
vapormusic 2021-12-27 14:29:49 +07:00
parent c2149e2746
commit f8b4827cf2

View file

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