/**
* Updates the track view.
*/
- public void update() {
+ public void update(long tickPosition) {
repaint();
}
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.