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
1 changed files with 1 additions and 0 deletions

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();
}