CC-2301 : not drawing fades of length zero.
This commit is contained in:
parent
0169c01724
commit
ef100f89f1
|
@ -395,6 +395,10 @@ WaveformDrawer.prototype.drawFade = function(id, type, shape, start, end) {
|
|||
ctx,
|
||||
tmpCtx;
|
||||
|
||||
if ((end - start) === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
width = ~~(end - start + 1);
|
||||
left = start;
|
||||
|
||||
|
|
Loading…
Reference in New Issue