qml/BookmarkButton: Update menu placement

This commit is contained in:
Benjamin Arnaud 2022-04-12 12:12:26 +02:00 committed by Felix Paul Kühne
parent 0230075596
commit 2813007e74
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ Widgets.IconControlButton {
iconText: VLCIcons.bookmark
text: I18n.qtr("Bookmarks")
// NOTE: We want to pop the menu after the button.
onClicked: menu.popup(this.mapToGlobal(width, 0))
// NOTE: We want to pop the menu above the button.
onClicked: menu.popup(this.mapToGlobal(0, 0), true)
QmlBookmarkMenu {
id: menu