Fix positioning of setting visibility preset menu popup

This commit is contained in:
fieldOfView 2021-05-20 12:18:25 +02:00
parent 6e803c41f4
commit 63a2085379

View File

@ -199,7 +199,14 @@ Item
label: Label {} label: Label {}
} }
onClicked: settingVisibilityPresetsMenu.open() onClicked:
{
settingVisibilityPresetsMenu.popup(
settingVisibilityMenu,
-settingVisibilityPresetsMenu.width + UM.Theme.getSize("default_margin").width,
settingVisibilityMenu.height
)
}
} }
// Mouse area that gathers the scroll events to not propagate it to the main view. // Mouse area that gathers the scroll events to not propagate it to the main view.