Skip to content

Able to make invalid Selection #733

@kyledecot

Description

@kyledecot

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Currently, you can make a selection that is not playable by dragging backward (I start on measure 3 and drag to measure 1 for example).

Expected Behavior

The selection logic should always correct the ordering by putting the earlier tick first.

Steps To Reproduce

  1. Open any song.
  2. Start a selection somewhere on measure 2
  3. Drag to measure 1.
  4. Hit play (nothing will happen)

Link to jsFiddle, CodePen, Project

No response

Found in Version

1.3-alpha

Platform

Web

Environment

- **OS**: MacOS 12.1 (21C52)
- **Browser**: Version 97.0.4692.99
- **.net Version**: N/A

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area-playerRelated to the audio playback engine.platform-allAffects all platformsstate-acceptedThis is a valid topic to work on.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions