if (note instanceof MooNote) {
// Adds the note element to the note area.
MooNote mn = (MooNote)note;
- elem = new MooNoteElement(mn, mn.getDuration() / 24);
+ elem = new MooNoteElement(mn);
add(elem);
// Moves the note element to the appropriate place.