"We brake for nobody." oh wait. - fixes Rectified Waveform view.

This commit is contained in:
Robin Gareus 2014-05-26 22:45:42 +02:00
parent 314d210f2b
commit bf4819ab0e

View File

@ -669,6 +669,7 @@ WaveView::position (double s) const
switch (_shape) {
case Rectified:
pos = floor (_height - (s * _height));
break;
default:
pos = floor ((1.0-s) * (_height / 2.0));
break;