miniplayer settings toggle to appear on top of windows.
working on linux, probs working elsewhere reading documentation.
This commit is contained in:
parent
4d6eb2cd64
commit
d42976f8db
4 changed files with 18 additions and 1 deletions
|
@ -3328,10 +3328,14 @@ const app = new Vue({
|
|||
ipcRenderer.send('unmaximize');
|
||||
ipcRenderer.send('windowmin', 250, 250)
|
||||
ipcRenderer.send('windowresize', 300, 300, false)
|
||||
if (this.cfg.visual.miniplayer_ontop) {
|
||||
ipcRenderer.send('windowontop', true)
|
||||
}
|
||||
app.appMode = 'mini';
|
||||
} else {
|
||||
ipcRenderer.send('windowmin', 844, 410)
|
||||
ipcRenderer.send('windowresize', this.tmpWidth, this.tmpHeight, false)
|
||||
ipcRenderer.send('windowontop', false)
|
||||
app.appMode = 'player';
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue