Skip to content

Commit

Permalink
Fix event selection selecting all notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tillvit committed Jan 31, 2024
1 parent 8d93b7e commit f0403a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/chart/ChartManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1775,14 +1775,15 @@ export class ChartManager {
note =>
note.beat >= this.startRegion! && note.beat <= this.endRegion!
)
.filter(note => !this.selection.notes.includes(note))
)
} else {
this.setEventSelection(
TIMING_EVENT_NAMES.flatMap(
event =>
this.loadedChart!.timingData.getColumn(event)
.events as Cached<TimingEvent>[]
).filter(
note => note.beat >= this.startRegion! && note.beat <= this.endRegion!
)
)
}
Expand Down

0 comments on commit f0403a2

Please sign in to comment.