diff layer/WaveformLayer.cpp @ 262:dae479593572

* more measurement tool stuff
author Chris Cannam
date Thu, 14 Jun 2007 17:03:16 +0000
parents 11021509c4eb
children 4ed1446ad604
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp	Thu Jun 14 16:28:27 2007 +0000
+++ b/layer/WaveformLayer.cpp	Thu Jun 14 17:03:16 2007 +0000
@@ -1063,7 +1063,7 @@
 	
     int my = m + (((channel - minChannel) * h) / channels);
 
-    int vy = y - my;
+    int vy = my - y;
     float value = 0;
 
     switch (scale) {