fix(Chat/ActivityCenter): Activity center context menu keeps moving position

Fixes #5469.
This commit is contained in:
Noelia 2022-04-12 10:29:02 +02:00 committed by Iuri Matias
parent 4b6c113b85
commit 45f147fa95
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ Item {
height: 32
type: StatusFlatRoundButton.Type.Secondary
onClicked: {
let p = moreActionsBtn.mapToItem(otherButtons, moreActionsBtn.x, moreActionsMenu.y)
let p = moreActionsBtn.mapToItem(otherButtons, moreActionsBtn.x, moreActionsBtn.y)
moreActionsMenu.popup(moreActionsBtn.width - moreActionsMenu.width, p.y + moreActionsBtn.height + 4)
}