X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=MooTrackView.java;h=a9a41d9f127a9c6a8871b5b8515c46cfcd9d1aea;hb=c54c8150061571a2aaf4ea81e027498b6bc248a7;hp=81384425b7289063262d4968546aab0033cdfb6b;hpb=f018794e66ab55f2e670d5972b8f8996bff19986;p=moosique.git diff --git a/MooTrackView.java b/MooTrackView.java index 8138442..a9a41d9 100644 --- a/MooTrackView.java +++ b/MooTrackView.java @@ -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.