Mercurial > hg > svgui
diff layer/TimeValueLayer.cpp @ 1395:32bbb86094c3
Merge from branch spectrogramparam
author | Chris Cannam |
---|---|
date | Wed, 14 Nov 2018 14:23:17 +0000 |
parents | c39f2d439d59 |
children | 28075cc658c9 |
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp Tue Nov 06 15:42:06 2018 +0000 +++ b/layer/TimeValueLayer.cpp Wed Nov 14 14:23:17 2018 +0000 @@ -565,7 +565,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 + 3)) {