X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=blobdiff_plain;f=MooTrackView.java;h=916e8fc387335f9cf1dac22d516a3606665696e4;hp=126ee6306d22d7ae672502c35ce4cd30977da12d;hb=1d2d2bfd14ba0addab97692527d4414d3a87e13d;hpb=e7289eb46e09ee6ed3bc5bb4a814f59902d885cb diff --git a/MooTrackView.java b/MooTrackView.java index 126ee63..916e8fc 100644 --- a/MooTrackView.java +++ b/MooTrackView.java @@ -45,6 +45,7 @@ public class MooTrackView extends JPanel { // Defines instance variables this.track = track; this.title = title; + ticksPerSixteenth = Moosique.getSequence().getResolution() / 4; insets = getInsets(); coords = new ArrayList(track.size() / 2); selection = new TreeSet(); @@ -137,7 +138,6 @@ public class MooTrackView extends JPanel { } // Creates temporary variables. - ticksPerSixteenth = Moosique.getSequence().getResolution() / 4; MooNote mn = elem.getNote(); int x, y, height;