This commit is contained in:
vapormusic 2021-12-25 14:55:45 +07:00
commit 603ebd727c
8 changed files with 114 additions and 103 deletions

View file

@ -269,6 +269,19 @@ const app = new Vue({
},
},
methods: {
getHTMLStyle() {
switch(this.cfg.visual.window_transparency) {
case "acrylic":
default:
document.querySelector("html").style.background = "";
document.querySelector("body").style.background = "";
break;
case "disabled":
document.querySelector("html").style.background = "#222";
document.querySelector("body").style.background = "#222";
break;
}
},
resetState() {
app.selectedMediaItems = [];
for (let key in app.modals) {
@ -2315,6 +2328,8 @@ function refreshFocus() {
setTimeout(refreshFocus, 200);
}
app.getHTMLStyle()
refreshFocus();
function xmlToJson(xml) {