Mercurial > hg > svgui
diff layer/FlexiNoteLayer.cpp @ 659:65b966394650 tonioni
some visualisation changes
author | matthiasm |
---|---|
date | Thu, 20 Jun 2013 11:07:57 +0100 |
parents | ac26de7b727a |
children | 8663a831838f |
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp Wed Jun 19 22:56:17 2013 +0100 +++ b/layer/FlexiNoteLayer.cpp Thu Jun 20 11:07:57 2013 +0100 @@ -1558,7 +1558,7 @@ std::cerr << "min frequency:" << minf << ", max frequency: " << maxf << std::endl; if (hasNotes) { - v->getLayer(1)->setDisplayExtents(minf*0.8,maxf*1.2); + v->getLayer(1)->setDisplayExtents(minf*0.66,maxf*1.5); // MM: this is a hack because we rely on // * this layer being automatically aligned to layer 1 // * layer one is a log frequency layer.