]> ruin.nu Git - moosique.git/blobdiff - MooView.java
Fixed a play thread that almost works
[moosique.git] / MooView.java
index 8223eca49e62ff4d28e3c5f3398778ba14fa08d8..a9679ffce84af3205f2f0634b0871640198f125a 100644 (file)
@@ -74,10 +74,10 @@ public class MooView extends JPanel {
        /** 
         * Calls on each track view to update itself.
         */
-       public void update() {
+       public void update(long tickPosition) {
                Component[] comps = getComponents();
                for (int i = 0; i < comps.length; i++) {
-                       if(comps[i] instanceof MooTrackView) ((MooTrackView)comps[i]).update();
+                       if(comps[i] instanceof MooTrackView) ((MooTrackView)comps[i]).update(tickPosition);
                }
        }