diff --git a/src/renderer/index.js b/src/renderer/index.js index 3841bc5f..397d3c23 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -2572,5 +2572,6 @@ async function webGPU() { webGPU().then() -// let screenWidth = screen.width; -// ipcRenderer.send("setScreenScale" ,screenWidth / 1536) \ No newline at end of file +let screenWidth = screen.width; +let screenHeight = screen.height; +ipcRenderer.send("setScreenScale" , (screenHeight * screenWidth) / (1536 * 864)) \ No newline at end of file