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';
|
||||
}
|
||||
},
|
||||
|
|
|
@ -524,6 +524,14 @@
|
|||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-option-line">
|
||||
<div class="md-option-segment">
|
||||
Miniplayer always on top
|
||||
</div>
|
||||
<div class="md-option-segment md-option-segment_auto" >
|
||||
<input type="checkbox" v-model="app.cfg.visual.miniplayer_ontop" switch/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="opacity: 0.5; pointer-events: none">
|
||||
<div class="md-option-header">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue