CC-2301 : fade editor now loads currently set fades. Fixing some bugs in the waveform editor.
This commit is contained in:
parent
0deaee4d0e
commit
8fea97d580
4 changed files with 104 additions and 38 deletions
|
@ -289,7 +289,7 @@ PlaylistEditor.prototype.updateEditor = function() {
|
|||
playbackSec = cursorPos + elapsed;
|
||||
cursorPixel = Math.ceil(playbackSec * this.sampleRate / res);
|
||||
|
||||
for(i = 0, len = editors.length; i < len; i++) {
|
||||
for (i = 0, len = editors.length; i < len; i++) {
|
||||
editors[i].updateEditor(cursorPixel, start, end, highlighted);
|
||||
}
|
||||
|
||||
|
@ -301,6 +301,10 @@ PlaylistEditor.prototype.updateEditor = function() {
|
|||
}
|
||||
else {
|
||||
clearInterval(this.interval);
|
||||
|
||||
for (i = 0, len = editors.length; i < len; i++) {
|
||||
editors[i].updateEditor(-1, undefined, undefined, true);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue