mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Fix media viewer regression.
This commit is contained in:
parent
adc8d6a6d1
commit
8ae1b10b91
2 changed files with 3 additions and 3 deletions
|
@ -454,7 +454,7 @@ void OverlayWidget::moveToScreen() {
|
|||
}
|
||||
|
||||
void OverlayWidget::updateGeometry() {
|
||||
if (!Platform::IsMac()) {
|
||||
if (Platform::IsLinux()) {
|
||||
return;
|
||||
}
|
||||
const auto screen = windowHandle() && windowHandle()->screen()
|
||||
|
@ -483,8 +483,8 @@ void OverlayWidget::updateControlsGeometry() {
|
|||
_saveMsg.moveTo((width() - _saveMsg.width()) / 2, (height() - _saveMsg.height()) / 2);
|
||||
_photoRadialRect = QRect(QPoint((width() - st::radialSize.width()) / 2, (height() - st::radialSize.height()) / 2), st::radialSize);
|
||||
|
||||
resizeContentByScreenSize();
|
||||
updateControls();
|
||||
resizeContentByScreenSize();
|
||||
update();
|
||||
}
|
||||
|
||||
|
|
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 513c635602ae1bb05e17bce1d6af2cb040bf4ae3
|
||||
Subproject commit b85f5e9a25171c08a0e9486c27f07331e26ff1eb
|
Loading…
Add table
Reference in a new issue