Mercurial > hg > svgui
diff view/View.cpp @ 1085:179ea8a2f650 spectrogram-minor-refactor
Add VerticalBinLayer to SpectrogramLayer
author | Chris Cannam |
---|---|
date | Fri, 01 Jul 2016 17:54:31 +0100 |
parents | ee01a4062747 |
children | 0edfed2c8482 |
line wrap: on
line diff
--- a/view/View.cpp Fri Jul 01 11:37:46 2016 +0100 +++ b/view/View.cpp Fri Jul 01 17:54:31 2016 +0100 @@ -415,12 +415,12 @@ } double -View::getFrequencyForY(int y, +View::getFrequencyForY(double y, double minf, double maxf, bool logarithmic) const { - int h = height(); + double h = height(); if (logarithmic) {