1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 03:58:22 +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() {
/**

View File

@@ -18,6 +18,7 @@
<style scoped>
.alas {
border-width: 0;
width: 100vw;
height: 100vh;
overflow: hidden;