Prechádzať zdrojové kódy

removing a check in events for slider

tsdedhar 6 rokov pred
rodič
commit
34c57e80b8

+ 1 - 1
assignments/a2/src/main/java/Controls.java

@@ -46,7 +46,7 @@ public class Controls extends JPanel implements Observer
     {
       public void stateChanged(ChangeEvent e)
       {
-        if (!playback.getSettingLen() && playback.getValue() != model.getTotalVisibleLen())
+        if (playback.getValue() != model.getTotalVisibleLen())
         {
           model.changeThingy(playback.getValue());
         }