Merge branch 'main' of https://github.com/ciderapp/Cider
This commit is contained in:
commit
603ebd727c
8 changed files with 114 additions and 103 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue