Mercurial > hg > svgui
diff layer/WaveformLayer.cpp @ 1401:28075cc658c9
Scale pen for retina display on macOS as well as for hidpi display elsewhere
author | Chris Cannam |
---|---|
date | Thu, 15 Nov 2018 14:04:32 +0000 |
parents | a0bfe366f9cb |
children | 4c359c2b220c |
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp Thu Nov 15 13:06:38 2018 +0000 +++ b/layer/WaveformLayer.cpp Thu Nov 15 14:04:32 2018 +0000 @@ -1053,10 +1053,10 @@ } if (!individualSamplePoints.empty()) { - double sz = PaintAssistant::scaleSize(2.0); + double sz = v->scaleSize(2.0); if (v->getZoomLevel().zone == ZoomLevel::PixelsPerFrame) { if (v->getZoomLevel().level < 10) { - sz = PaintAssistant::scaleSize(1.2); + sz = v->scaleSize(1.2); } } paint->save();