Merge remote-tracking branch 'upstream/upcoming' into upcoming

This commit is contained in:
Onur Gümüş 2022-01-25 18:24:07 +03:00
commit 061f83deb8
14 changed files with 104 additions and 55 deletions

View file

@ -60,7 +60,8 @@ export class ConfigStore {
"animated_artwork_qualityLevel": 1,
"bg_artwork_rotation": false,
"hw_acceleration": "default", // default, webgpu, disabled
"showuserinfo": true
"showuserinfo": true,
"miniplayer_top_toggle": true
},
"lyrics": {
"enable_mxm": false,

View file

@ -430,6 +430,10 @@ export class Win {
this.win.setMinimumSize(width,height);
})
electron.ipcMain.on("windowontop", (event, ontop) => {
this.win.setAlwaysOnTop(ontop);
});
// Set scale
electron.ipcMain.on("windowresize", (event, width, height, lock = false) => {
this.win.setContentSize(width, height);