1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

Opt: Disable DPI scaling and corresponding style changes

This commit is contained in:
LmeSzinc
2021-10-26 02:00:35 +08:00
parent eb3328ca30
commit 8e065983b5
5 changed files with 58 additions and 43 deletions

View File

@@ -103,6 +103,9 @@ const createWindow = async () => {
});
};
// No DPI scaling
app.commandLine.appendSwitch('high-dpi-support', '1');
app.commandLine.appendSwitch('force-device-scale-factor', '1');
function loadURL() {
/**