mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 15:19:02 +08:00
Add mouse area to prevent clickthroughs
CURA-6283
This commit is contained in:
parent
bd39a9c591
commit
9bc89534bf
@ -13,6 +13,13 @@ Item
|
|||||||
width: UM.Theme.getSize("objects_menu_size").width
|
width: UM.Theme.getSize("objects_menu_size").width
|
||||||
property bool opened: UM.Preferences.getValue("cura/show_list_of_objects")
|
property bool opened: UM.Preferences.getValue("cura/show_list_of_objects")
|
||||||
|
|
||||||
|
// Eat up all the mouse events (we don't want the scene to react or have the scene context menu showing up)
|
||||||
|
MouseArea
|
||||||
|
{
|
||||||
|
anchors.fill: parent
|
||||||
|
acceptedButtons: Qt.AllButtons
|
||||||
|
}
|
||||||
|
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
id: openCloseButton
|
id: openCloseButton
|
||||||
|
Loading…
x
Reference in New Issue
Block a user