added UI Scale option under visual

This commit is contained in:
booploops 2022-04-10 00:34:22 -07:00
parent 2edbc243d0
commit d7132cfe8e
6 changed files with 18 additions and 4 deletions

View file

@ -465,8 +465,11 @@ const app = new Vue({
history.forward()
},
getHTMLStyle() {
// document.querySelector("html").style.background = "#222";
document.querySelector("body").classList.add("notransparency")
if(app.cfg.visual.uiScale != 1) {
document.querySelector("#app").style.zoom = app.cfg.visual.uiScale
}else{
document.querySelector("#app").style.zoom = ""
}
},
resetState() {
this.menuPanel.visible = false;