added window style to settings
This commit is contained in:
parent
c832e9e959
commit
8013d663e9
8 changed files with 256 additions and 65 deletions
|
@ -959,12 +959,15 @@ const app = new Vue({
|
|||
}
|
||||
},
|
||||
getThemeDirective(directive = "") {
|
||||
if (typeof this.chrome.appliedTheme.info.directives != "object") {
|
||||
return ""
|
||||
let directives = {}
|
||||
if (typeof this.chrome.appliedTheme.info.directives == "object") {
|
||||
directives = this.chrome.appliedTheme.info.directives
|
||||
}
|
||||
if (this.chrome.appliedTheme.info.directives[directive]) {
|
||||
if (directives[directive]) {
|
||||
return this.chrome.appliedTheme.info.directives[directive].value
|
||||
} else {
|
||||
} else if(this.cfg.visual.directives[directive]) {
|
||||
return this.cfg.visual.directives.windowLayout
|
||||
}else{
|
||||
return ""
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue