Move media viewer menu when resizing the window.

This commit is contained in:
John Preston 2023-03-17 15:40:49 +04:00
parent 6dae6dc42a
commit 75a1db9900

View File

@ -832,6 +832,10 @@ void OverlayWidget::updateControlsGeometry() {
QPoint(topShadowOnTheRight() ? (width() - top.width()) : 0, 0),
top);
if (_dropdown && !_dropdown->isHidden()) {
_dropdown->moveToRight(0, height() - _dropdown->height());
}
updateControls();
resizeContentByScreenSize();
update();