mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Fix Picture-in-Picture resize on macOS.
This commit is contained in:
parent
aa83b9e3fd
commit
a29d1816c9
2 changed files with 2 additions and 1 deletions
|
@ -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
|
Loading…
Add table
Reference in a new issue