diff --git a/src/renderer/main/vueapp.js b/src/renderer/main/vueapp.js index 8f6b657c..06cdedd8 100644 --- a/src/renderer/main/vueapp.js +++ b/src/renderer/main/vueapp.js @@ -507,11 +507,9 @@ const app = new Vue({ history.forward() }, getHTMLStyle() { - if (app.cfg.visual.uiScale != 1) { - document.querySelector("#app").style.zoom = app.cfg.visual.uiScale - } else { - document.querySelector("#app").style.zoom = "" - } + + ipcRenderer.send("setScreenScale", app.cfg.visual.uiScale); + }, resetState() { this.menuPanel.visible = false;