diff --git a/Telegram/SourceFiles/media/view/media_view_pip.cpp b/Telegram/SourceFiles/media/view/media_view_pip.cpp index c1319952f3..44d4b9b114 100644 --- a/Telegram/SourceFiles/media/view/media_view_pip.cpp +++ b/Telegram/SourceFiles/media/view/media_view_pip.cpp @@ -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()); } diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 6be424604f..f17320171a 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 6be424604fe8d68e672411fd10d58fa4bc343621 +Subproject commit f17320171a580dc03f1d10eddea3841a71f644e7