mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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