瀏覽代碼

Issue #29 changed rang & removed num labels

jess 8 年之前
父節點
當前提交
6ec26a243b
共有 1 個文件被更改,包括 3 次插入3 次删除
  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) {