]> ruin.nu Git - moosique.git/blobdiff - MooToolbar.java
inte helt klar
[moosique.git] / MooToolbar.java
index 719ced80f4789b3f60ca3b6493c7acc7013be199..9852c6a4fe72cba4667aeaa5e9c6c2cb38d43357 100644 (file)
@@ -74,6 +74,7 @@ public class MooToolbar extends JToolBar {
         * @param tickPosition  the tick position to visualize
         */
        public void updateProgInd(long tickPosition) {
+               ticksPerBeat = Moosique.getSequence().getResolution();
                if (tickPosition == 0) {
                        resetProgInd();
                } else {
@@ -185,4 +186,4 @@ public class MooToolbar extends JToolBar {
 
                public void mouseReleased(MouseEvent e) {}
        }
-}
\ No newline at end of file
+}