diff layer/SpectrumLayer.cpp @ 1278:b6fc0970cd66 horizontal-scale

Tweaks to horizontal scale
author Chris Cannam
date Wed, 02 May 2018 14:25:44 +0100
parents 82258db96244
children 34394e8c2942
line wrap: on
line diff
--- a/layer/SpectrumLayer.cpp	Tue May 01 16:32:35 2018 +0100
+++ b/layer/SpectrumLayer.cpp	Wed May 02 14:25:44 2018 +0100
@@ -686,7 +686,7 @@
 
     LogNumericalScale().paintHorizontal
         (v, this, paint,
-         QRect(int(getXForBin(v, 0)), h - scaleh, w + xorigin, scaleh)); 
+         QRect(int(getXForBin(v, 1)), h - scaleh, w + xorigin, scaleh)); 
     
     paint.restore();
 }