mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Create a mouse area around the sidebar to avoid propagating mouse wheel events.
Contributes to CURA-4495
This commit is contained in:
parent
feb3143874
commit
ae57e23eec
2 changed files with 9 additions and 1 deletions
|
@ -476,6 +476,14 @@ UM.MainWindow
|
|||
collapseSidebarAnimation.start();
|
||||
}
|
||||
}
|
||||
|
||||
MouseArea
|
||||
{
|
||||
visible: UM.Controller.activeStage.sidebarComponent != ""
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.AllButtons
|
||||
onWheel: wheel.accepted = true
|
||||
}
|
||||
}
|
||||
|
||||
UM.MessageStack
|
||||
|
|
|
@ -142,7 +142,7 @@ Item
|
|||
TextField
|
||||
{
|
||||
id: filter;
|
||||
|
||||
height: parent.height
|
||||
anchors.left: parent.left
|
||||
anchors.right: clearFilterButton.left
|
||||
anchors.rightMargin: Math.round(UM.Theme.getSize("sidebar_margin").width)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue