Skip to content
Snippets Groups Projects
Commit a7e09e13 authored by SeeLook's avatar SeeLook :musical_note:
Browse files

Fix note click (edition) - was covered by pinch area

parent f6914abb
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,7 @@ Score { ...@@ -57,6 +57,7 @@ Score {
Timer { id: zoomTimer; interval: 500 } Timer { id: zoomTimer; interval: 500 }
PinchArea { PinchArea {
z: -1
anchors.fill: parent anchors.fill: parent
pinch.dragAxis: Pinch.XandYAxis pinch.dragAxis: Pinch.XandYAxis
onPinchFinished: { onPinchFinished: {
...@@ -68,7 +69,7 @@ Score { ...@@ -68,7 +69,7 @@ Score {
// HACK: keeping MouseArea inside PinchArea makes it working // HACK: keeping MouseArea inside PinchArea makes it working
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
z: -1 //z: -1
onWheel: { onWheel: {
if (wheel.modifiers & Qt.ControlModifier) { if (wheel.modifiers & Qt.ControlModifier) {
if (wheel.angleDelta.y > 0) if (wheel.angleDelta.y > 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment