mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add updateControls to resizeEvent in media viewer
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user