Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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