X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=MooGUI.java;h=9f171a3a8c6a11965eb118a2b3e044af17d483eb;hb=31f81450a303d52bf37ec8bcbb12e0f3b3b8b833;hp=b313b0267ff060a5fb7127065d4759d134c8196b;hpb=edcad990c02ad9319895215d90ef7aecf733f5ea;p=moosique.git diff --git a/MooGUI.java b/MooGUI.java index b313b02..9f171a3 100644 --- a/MooGUI.java +++ b/MooGUI.java @@ -100,6 +100,7 @@ public class MooGUI extends JFrame { public void setSequence(Sequence sequence) { seq = sequence; view.setTracks(seq.getTracks()); + toolbar.resetProgInd(); } /** @@ -114,9 +115,9 @@ public class MooGUI extends JFrame { * Calls on the main view to update the track views, * and on the toolbar to update the progress indicator. */ - public void update(){ - view.update(); - toolbar.updateProgInd(); + public void update(long tickPosition){ + view.update(tickPosition); + toolbar.updateProgInd(tickPosition); } class MooGUICloser extends WindowAdapter {