Set min floating window size

This commit is contained in:
Rafostar
2020-11-09 11:40:01 +01:00
parent 9be93c66f1
commit c2bd6bc894
4 changed files with 317 additions and 159 deletions

View File

@@ -131,10 +131,14 @@ var Widget = GObject.registerClass({
this._saveWindowSize(size);
if(isFloating)
if(isFloating) {
this.windowSize = size;
else
this.player.widget.set_size_request(192, 108);
}
else {
this.floatSize = size;
this.player.widget.set_size_request(-1, -1);
}
this.floatingMode = isFloating;