Skip to content

Wrong start/end/duration times when switching regions. #11

@julj

Description

@julj

When switching from one region to another one, the start/end/duration times are wrong.
I guess this is due to the following lines

this.updateRender();
this.fireEvent('update');
this.wavesurfer.fireEvent('region-updated', this);

during which the regions are not swapped (in swapRegion) until the end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions