# HG changeset patch # User Chris Cannam # Date 1242750418 0 # Node ID a0e4176b0bf8c2a65c4434808a1b9a30f6c0dce9 # Parent 188049db73faccfc8f05b192da48d7b3fb80b42d * another minor improvement diff -r 188049db73fa -r a0e4176b0bf8 layer/Colour3DPlotLayer.cpp --- a/layer/Colour3DPlotLayer.cpp Tue May 19 13:03:36 2009 +0000 +++ b/layer/Colour3DPlotLayer.cpp Tue May 19 16:26:58 2009 +0000 @@ -774,7 +774,7 @@ } */ - int py = 0; + int py = h; for (size_t i = symin; i < symax; ++i) { @@ -798,9 +798,9 @@ if (i > symin) { if (paint.fontMetrics().height() >= h) { - if (h >= 7) { + if (h >= 8) { QFont tf = paint.font(); - tf.setPixelSize(h > 7 ? h-2 : 5); + tf.setPixelSize(h-2); paint.setFont(tf); } else { continue;