mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +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),
|
||||
top);
|
||||
|
||||
if (_dropdown && !_dropdown->isHidden()) {
|
||||
_dropdown->moveToRight(0, height() - _dropdown->height());
|
||||
}
|
||||
|
||||
updateControls();
|
||||
resizeContentByScreenSize();
|
||||
update();
|
||||
|
|
Loading…
Add table
Reference in a new issue