"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 committed by Paul Davis
parent 5b98cfc314
commit b53cb263e5

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;