]> ruin.nu Git - moosique.git/blobdiff - MooTrackView.java
Fixed accessors, encoders and decoders for tempo and time signature.
[moosique.git] / MooTrackView.java
index 126ee6306d22d7ae672502c35ce4cd30977da12d..916e8fc387335f9cf1dac22d516a3606665696e4 100644 (file)
@@ -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;