mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-26 15:32:08 +00:00
Fixed position of popup menu from More button in history view top bar.
This commit is contained in:
@@ -386,7 +386,9 @@ void TopBarWidget::showPeerMenu() {
|
||||
} else {
|
||||
_menu->setForcedOrigin(Ui::PanelAnimation::Origin::TopRight);
|
||||
_menu->popup(mapToGlobal(QPoint(
|
||||
width() + st::topBarMenuPosition.x(),
|
||||
width()
|
||||
+ st::topBarMenuPosition.x()
|
||||
+ _menu->st().shadow.extend.right(),
|
||||
st::topBarMenuPosition.y())));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user