Skip to content

Commit

Permalink
Merge branch 'main' into bump_ureq
Browse files Browse the repository at this point in the history
  • Loading branch information
subalterngames committed Jun 14, 2024
2 parents 7bc7436 + ba210ce commit 3c7058a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: test

on:
push:
branches-ignore:
- main
paths-ignore:
- "doc/**"
- ".vscode/**"
Expand Down
8 changes: 4 additions & 4 deletions render/src/piano_roll_panel/viewable_notes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ impl<'a> ViewableNotes<'a> {
};

// Get the selected notes.
let selected = match state.select_mode.get_notes(&state.music) {
Some(selected) => selected,
None => vec![],
};
let selected = state
.select_mode
.get_notes(&state.music)
.unwrap_or_default();
let mut notes = vec![];
for note in track.notes.iter() {
// Is the note in view?
Expand Down

0 comments on commit 3c7058a

Please sign in to comment.