fix scale
This commit is contained in:
parent
c2149e2746
commit
f8b4827cf2
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
Loading…
Add table
Add a link
Reference in a new issue