added UI Scale option under visual
This commit is contained in:
parent
2edbc243d0
commit
d7132cfe8e
6 changed files with 18 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue