]> ruin.nu Git - moosique.git/blobdiff - MooTrackView.java
Changed MooNoteElement constructor
[moosique.git] / MooTrackView.java
index 81384425b7289063262d4968546aab0033cdfb6b..a9a41d9f127a9c6a8871b5b8515c46cfcd9d1aea 100644 (file)
@@ -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);
+                                       elem = new MooNoteElement(mn, mn.getDuration() / 24);
                                        add(elem);
 
                                        // Moves the note element to the appropriate place.