This commit is contained in:
vapormusic 2022-01-24 21:24:59 +07:00
parent b7cd87e17e
commit a0c1d3ffcd
2 changed files with 6 additions and 1 deletions

View file

@ -3326,9 +3326,11 @@ const app = new Vue({
this.tmpWidth = window.innerWidth;
this.tmpHeight = window.innerHeight;
ipcRenderer.send('unmaximize');
ipcRenderer.send('windowmin', 250, 250)
ipcRenderer.send('windowresize', 300, 300, false)
app.appMode = 'mini';
} else {
ipcRenderer.send('windowmin', 844, 410)
ipcRenderer.send('windowresize', this.tmpWidth, this.tmpHeight, false)
app.appMode = 'player';
}