Skip to content

Bad detection of a note selection on BeatBounds #744

@gallegretti

Description

@gallegretti

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm using the findNoteAtPos function from BeatBounds to detect if a note was clicked by the user, but that is not working as expected. The function always returns null.

Expected Behavior

I expected when given valid x and y coordinates belonging to a note, the function would return it.

Steps To Reproduce

  1. Open the codepen below.
  2. Try to click on any note.
  3. It should log to the console, but does not

Link to jsFiddle, CodePen, Project

https://codepen.io/gallegretti/pen/eYeReNm

Found in Version

1.3-alpha

Platform

Web

Environment

- **OS**: Windows 10
- **Browser**: Chrome
- **.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