mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 11:19:04 +08:00
Fix positioning of setting visibility preset menu popup
This commit is contained in:
parent
6e803c41f4
commit
63a2085379
@ -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…
x
Reference in New Issue
Block a user