restyled .dropdown, reloadStyles changes

This commit is contained in:
booploops 2022-04-11 17:49:08 -07:00
parent 2a01b11ace
commit b62bf9023c
3 changed files with 20 additions and 2 deletions

View file

@ -582,7 +582,7 @@ const app = new Vue({
this.setTheme(this.cfg.visual.theme)
}
if (this.cfg.visual.styles.length != 0) {
this.reloadStyles()
await this.reloadStyles()
}
if (this.platform == "darwin") {
@ -765,6 +765,9 @@ const app = new Vue({
ipcRenderer.on('theme-update', (event, arg) => {
less.refresh(true, true, true)
self.setTheme(self.cfg.visual.theme, true)
if (app.cfg.visual.styles.length != 0) {
app.reloadStyles()
}
})
ipcRenderer.on('SoundCheckTag', (event, tag) => {
@ -986,6 +989,7 @@ const app = new Vue({
less.registerStylesheetsImmediately()
less.refresh(true, true, true)
this.$forceUpdate()
return
},
macOSEmu() {
this.chrome.forceDirectives["macosemu"] = {