Explorar o código

Issue #29 changed rang & removed num labels

jess %!s(int64=8) %!d(string=hai) anos
pai
achega
6ec26a243b
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/ui/view/TimePanel.java

+ 3 - 3
src/ui/view/TimePanel.java

@@ -219,10 +219,10 @@ public class TimePanel extends JPanel {
 		speedSlider.setPaintTicks(true);
 		speedSlider.setPaintLabels(true);
 		speedSlider.setToolTipText("Speed: 1000");
-		speedSlider.setMaximum(10000);
-		speedSlider.setMinimum(0);
+		speedSlider.setMaximum(5000);
+		speedSlider.setMinimum(500);
 		speedSlider.setValue(1000);
-		speedSlider.setMajorTickSpacing(2000);
+		//speedSlider.setMajorTickSpacing(100);
 		speedSlider.addChangeListener(new ChangeListener() {
 			@Override
 			public void stateChanged(ChangeEvent e) {