Fix bug when overwriting existing outro region.
This commit is contained in:
parent
931863d937
commit
b2ec00c1dd
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class Player extends ((PlayerEmitter as unknown) as { new (): EventEmitter }) {
|
|||
if (startTime === 0) {
|
||||
delete this.wavesurfer.regions.list.outro;
|
||||
} else {
|
||||
this.wavesurfer.regions.list.outro.end = startTime;
|
||||
this.wavesurfer.regions.list.outro.start = startTime;
|
||||
}
|
||||
|
||||
this.redraw();
|
||||
|
|
Loading…
Reference in a new issue