Skip to content

Commit

Permalink
#628 Fix tests (new feedback)
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Aug 30, 2022
1 parent 8bff357 commit fc3fa20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions main/src/infrastructure/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ async fn load_mapping_snapshot_all_mappings() {
Midi(Plain(note_on(0, 63, 64))),
// Mute
Midi(Plain(note_on(0, 62, 0))),
// Load snapshot
Midi(Plain(note_on(0, 65, 127))),
],
"feedback should be sent after loading preset"
);
Expand Down Expand Up @@ -370,6 +372,8 @@ async fn load_mapping_snapshot_some_mappings() {
Midi(Plain(note_on(0, 63, 64))),
// Mute
Midi(Plain(note_on(0, 62, 0))),
// Load snapshot
Midi(Plain(note_on(0, 65, 127))),
],
"feedback should be sent after loading preset"
);
Expand Down
2 changes: 1 addition & 1 deletion main/src/infrastructure/ui/main_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl MainPanel {
)
.into(),
panel_manager,
success_sound: Sound::from_file("success.mp3").ok(),
success_sound: Sound::from_file("high-click.mp3").ok(),
};
self.active_data.fill(active_data).unwrap();
// If the plug-in window is currently open, open the sub panels as well. Now we are talking!
Expand Down
File renamed without changes.

0 comments on commit fc3fa20

Please sign in to comment.