mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Fix positioning of setting visibility preset menu popup
This commit is contained in:
parent
6e803c41f4
commit
63a2085379
1 changed files with 8 additions and 1 deletions
|
@ -199,7 +199,14 @@ Item
|
|||
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue