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:
@@ -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() {
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
<style scoped>
|
||||
.alas {
|
||||
border-width: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user