From a7e09e1331464730fc914c7376a049aa90c4c94e Mon Sep 17 00:00:00 2001
From: SeeLook <seelook@gmail.com>
Date: Thu, 31 Dec 2020 19:16:41 +0100
Subject: [PATCH] Fix note click (edition) - was covered by pinch area

---
 src/qml/MainScore.qml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/qml/MainScore.qml b/src/qml/MainScore.qml
index 7d2525058..f2d1d92ac 100644
--- a/src/qml/MainScore.qml
+++ b/src/qml/MainScore.qml
@@ -57,6 +57,7 @@ Score {
 
   Timer { id: zoomTimer; interval: 500 }
   PinchArea {
+    z: -1
     anchors.fill: parent
     pinch.dragAxis: Pinch.XandYAxis
     onPinchFinished: {
@@ -68,7 +69,7 @@ Score {
     // HACK: keeping MouseArea inside PinchArea makes it working
     MouseArea {
       anchors.fill: parent
-      z: -1
+      //z: -1
       onWheel: {
         if (wheel.modifiers & Qt.ControlModifier) {
             if (wheel.angleDelta.y > 0)
-- 
GitLab