mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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 {}
|
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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue