fix(Chat/ActivityCenter): Activity center context menu keeps moving position
Fixes #5469.
This commit is contained in:
parent
4b6c113b85
commit
45f147fa95
|
@ -108,7 +108,7 @@ Item {
|
||||||
height: 32
|
height: 32
|
||||||
type: StatusFlatRoundButton.Type.Secondary
|
type: StatusFlatRoundButton.Type.Secondary
|
||||||
onClicked: {
|
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)
|
moreActionsMenu.popup(moreActionsBtn.width - moreActionsMenu.width, p.y + moreActionsBtn.height + 4)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue