diff layer/NoteLayer.cpp @ 1395:32bbb86094c3

Merge from branch spectrogramparam
author Chris Cannam
date Wed, 14 Nov 2018 14:23:17 +0000
parents c39f2d439d59
children c8a6fd3f9dff
line wrap: on
line diff
--- a/layer/NoteLayer.cpp	Tue Nov 06 15:42:06 2018 +0000
+++ b/layer/NoteLayer.cpp	Wed Nov 14 14:23:17 2018 +0000
@@ -421,7 +421,7 @@
     }
 
     if (!usePoints.empty()) {
-        int fuzz = 2;
+        int fuzz = ViewManager::scalePixelSize(2);
         int px = v->getXForFrame(usePoints.begin()->frame);
         if ((px > x && px - x > fuzz) ||
             (px < x && x - px > fuzz + 1)) {