Fix Picture-in-Picture resize on macOS.
This commit is contained in:
parent
aa83b9e3fd
commit
a29d1816c9
|
@ -372,6 +372,7 @@ void PipPanel::setAspectRatio(QSize ratio) {
|
||||||
if (_ratio.isEmpty()) {
|
if (_ratio.isEmpty()) {
|
||||||
_ratio = QSize(1, 1);
|
_ratio = QSize(1, 1);
|
||||||
}
|
}
|
||||||
|
Ui::Platform::DisableSystemWindowResize(widget(), _ratio);
|
||||||
if (!widget()->size().isEmpty()) {
|
if (!widget()->size().isEmpty()) {
|
||||||
setPosition(countPosition());
|
setPosition(countPosition());
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 6be424604fe8d68e672411fd10d58fa4bc343621
|
Subproject commit f17320171a580dc03f1d10eddea3841a71f644e7
|
Loading…
Reference in New Issue