diff layer/TimeRulerLayer.cpp @ 1391:c39f2d439d59 spectrogramparam

Toward highlighting peaks on spectrum
author Chris Cannam
date Tue, 13 Nov 2018 15:16:48 +0000
parents dddfd28e4f02
children c8a6fd3f9dff
line wrap: on
line diff
--- a/layer/TimeRulerLayer.cpp	Tue Nov 13 14:48:42 2018 +0000
+++ b/layer/TimeRulerLayer.cpp	Tue Nov 13 15:16:48 2018 +0000
@@ -113,7 +113,7 @@
             dr = abs(v->getXForFrame(right) - x);
         }
 
-        int fuzz = 2;
+        int fuzz = ViewManager::scalePixelSize(2);
 
         if (dl >= 0 && dr >= 0) {
             if (dl < dr) {