"We brake for nobody." oh wait. - fixes Rectified Waveform view.
This commit is contained in:
parent
314d210f2b
commit
bf4819ab0e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user