Move media viewer menu when resizing the window.
This commit is contained in:
parent
6dae6dc42a
commit
75a1db9900
|
@ -832,6 +832,10 @@ void OverlayWidget::updateControlsGeometry() {
|
||||||
QPoint(topShadowOnTheRight() ? (width() - top.width()) : 0, 0),
|
QPoint(topShadowOnTheRight() ? (width() - top.width()) : 0, 0),
|
||||||
top);
|
top);
|
||||||
|
|
||||||
|
if (_dropdown && !_dropdown->isHidden()) {
|
||||||
|
_dropdown->moveToRight(0, height() - _dropdown->height());
|
||||||
|
}
|
||||||
|
|
||||||
updateControls();
|
updateControls();
|
||||||
resizeContentByScreenSize();
|
resizeContentByScreenSize();
|
||||||
update();
|
update();
|
||||||
|
|
Loading…
Reference in New Issue