Mercurial > hg > svgui
diff layer/WaveformLayer.cpp @ 1373:cca66ce390e0
Scaling tweaks
author | Chris Cannam |
---|---|
date | Mon, 05 Nov 2018 13:30:21 +0000 |
parents | 2c01be836570 |
children | 694004228ab7 |
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp Fri Nov 02 15:23:53 2018 +0000 +++ b/layer/WaveformLayer.cpp Mon Nov 05 13:30:21 2018 +0000 @@ -1052,10 +1052,10 @@ } if (!individualSamplePoints.empty()) { - double sz = ViewManager::scalePixelSize(2.0); + double sz = PaintAssistant::scaleSize(2.0); if (v->getZoomLevel().zone == ZoomLevel::PixelsPerFrame) { if (v->getZoomLevel().level < 10) { - sz = 1.5; + sz = PaintAssistant::scaleSize(1.2); } } paint->save();