Skip to content

Commit

Permalink
Fixed bug found by Christeriousninja - the mute-instrument notes should
Browse files Browse the repository at this point in the history
now be properly displayed.
  • Loading branch information
DC37 committed Jan 4, 2014
1 parent 3a8becb commit 4ec2269
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/smp/components/staff/NoteMatrix.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,12 @@ private void populateNoteDisplay(StaffNoteLine stl, int index) {
if (s.muteNoteVal() == 0) {
s.setImage(ImageLoader.getSpriteFX(
s.getInstrument().imageIndex()));
} else {
} else if (s.muteNoteVal() == 1) {
s.setImage(ImageLoader.getSpriteFX(
s.getInstrument().imageIndex().alt()));
} else {
s.setImage(ImageLoader.getSpriteFX(
s.getInstrument().imageIndex().silhouette()));
}

s.setVisible(true);
Expand Down

0 comments on commit 4ec2269

Please sign in to comment.