diff view/Pane.cpp @ 274:b9380f679f70

* Fix centre line position * Fix failure to update overview when generating peaks from wav file * Provide y-coordinate scale values and differences for spectrum measurement mode, and fix values for waveform (inc dB for both) * Add Printer colour scheme (may be futile)
author Chris Cannam
date Mon, 02 Jul 2007 13:04:17 +0000
parents 87e4c880b4c8
children 21c7152ddba8
line wrap: on
line diff
--- a/view/Pane.cpp	Fri Jun 29 16:50:59 2007 +0000
+++ b/view/Pane.cpp	Mon Jul 02 13:04:17 2007 +0000
@@ -631,7 +631,7 @@
         c = QColor(240, 240, 240);
     }
     paint.setPen(c);
-    int x = width() / 2 + 1;
+    int x = width() / 2;
     paint.drawLine(x, 0, x, height() - 1);
     paint.drawLine(x-1, 1, x+1, 1);
     paint.drawLine(x-2, 0, x+2, 0);