high dpi detection
This commit is contained in:
parent
f8b4827cf2
commit
997847e146
3 changed files with 6 additions and 3 deletions
|
@ -2574,4 +2574,3 @@ webGPU().then()
|
|||
|
||||
let screenWidth = screen.width;
|
||||
let screenHeight = screen.height;
|
||||
ipcRenderer.send("setScreenScale" , (screenHeight * 16 / 9) / (1536))
|
Loading…
Add table
Add a link
Reference in a new issue