high dpi detection
This commit is contained in:
parent
f8b4827cf2
commit
997847e146
3 changed files with 6 additions and 3 deletions
|
@ -194,6 +194,8 @@ const CiderBase = {
|
|||
ipcMain.on('setScreenScale', (event, scale) => {
|
||||
win.webContents.setZoomFactor(parseFloat(scale))
|
||||
})
|
||||
|
||||
win.webContents.setZoomFactor(screen.getPrimaryDisplay().scaleFactor)
|
||||
return win
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue