Fix Picture-in-Picture resize on macOS.

This commit is contained in:
John Preston 2022-03-08 18:19:59 +04:00
parent aa83b9e3fd
commit a29d1816c9
2 changed files with 2 additions and 1 deletions

View File

@ -372,6 +372,7 @@ void PipPanel::setAspectRatio(QSize ratio) {
if (_ratio.isEmpty()) {
_ratio = QSize(1, 1);
}
Ui::Platform::DisableSystemWindowResize(widget(), _ratio);
if (!widget()->size().isEmpty()) {
setPosition(countPosition());
}

@ -1 +1 @@
Subproject commit 6be424604fe8d68e672411fd10d58fa4bc343621
Subproject commit f17320171a580dc03f1d10eddea3841a71f644e7