qml/RendererButton: Update menu placement

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

View File

@ -31,8 +31,8 @@ Widgets.IconControlButton {
iconText: VLCIcons.renderer
text: I18n.qtr("Renderer")
// 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)
QmlRendererMenu {
id: menu