2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Add updateControls to resizeEvent in media viewer

This commit is contained in:
Ilya Fedin
2021-01-05 18:29:13 +04:00
committed by John Preston
parent 3b7d5d3c80
commit e81f4e8545

View File

@@ -476,6 +476,7 @@ void OverlayWidget::resizeEvent(QResizeEvent *e) {
_photoRadialRect = QRect(QPoint((width() - st::radialSize.width()) / 2, (height() - st::radialSize.height()) / 2), st::radialSize);
resizeContentByScreenSize();
updateControls();
update();
}