]> ruin.nu Git - moosique.git/blobdiff - MooTrackView.java
even better
[moosique.git] / MooTrackView.java
index a9a41d9f127a9c6a8871b5b8515c46cfcd9d1aea..c7850fe65b2eb4aeaed77d5d2f4b96028086641a 100644 (file)
@@ -59,7 +59,7 @@ public class MooTrackView extends JPanel implements ActionListener {
        /** 
         * Updates the track view.
         */
-       public void update() {
+       public void update(long tickPosition) {
                repaint();
        }
 
@@ -89,7 +89,7 @@ public class MooTrackView extends JPanel implements ActionListener {
                                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.