mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Move media viewer menu when resizing the window.
This commit is contained in:
parent
6dae6dc42a
commit
75a1db9900
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue