We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5705a7e commit 31b9362Copy full SHA for 31b9362
src/rendering/utils/BeatBounds.ts
@@ -61,7 +61,7 @@ export class BeatBounds {
61
for (let note of this.notes) {
62
let bottom: number = note.noteHeadBounds.y + note.noteHeadBounds.h;
63
let right: number = note.noteHeadBounds.x + note.noteHeadBounds.w;
64
- if (note.noteHeadBounds.x >= x && note.noteHeadBounds.y >= y && x <= right && y <= bottom) {
+ if (note.noteHeadBounds.x <= x && note.noteHeadBounds.y <= y && x <= right && y <= bottom) {
65
return note.note;
66
}
67
0 commit comments