X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=MooTrackView.java;h=81384425b7289063262d4968546aab0033cdfb6b;hb=b6312d2dc8b1a096ecb1dfe9e6590d9f7bf14f71;hp=a9a41d9f127a9c6a8871b5b8515c46cfcd9d1aea;hpb=c54c8150061571a2aaf4ea81e027498b6bc248a7;p=moosique.git diff --git a/MooTrackView.java b/MooTrackView.java index a9a41d9..8138442 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, mn.getDuration() / 24); + elem = new MooNoteElement(mn); add(elem); // Moves the note element to the appropriate place.