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:
@@ -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() {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user