trackeditor: fix profil steps slider when unchecked
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9321 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
parent
e2471abb84
commit
9f9a7672dd
|
@ -528,7 +528,7 @@ public class SegmentEditorDlg extends JDialog implements SliderListener
|
|||
int minSteps = 1;
|
||||
if (!shape.getType().equals("str"))
|
||||
minSteps = 2;
|
||||
profilStepsSlider = new SegmentSlider(minSteps, 100, 1, 1, shape.getProfilSteps(), "Steps", "", "ProfilSteps", true, true);
|
||||
profilStepsSlider = new SegmentSlider(minSteps, 100, Double.NaN, 1, shape.getProfilSteps(), "Steps", "", "ProfilSteps", true, true);
|
||||
profilStepsSlider.setBounds(610, 64, 50, 390);
|
||||
profilStepsSlider.addSliderListener(this);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ public class Properties
|
|||
private static Properties instance = new Properties();
|
||||
private Vector<ActionListener> propertiesListeners = new Vector<ActionListener>();
|
||||
public final String title = "sd2-trackeditor";
|
||||
public final String version = "1.4.42";
|
||||
public final String version = "1.4.43";
|
||||
private String path;
|
||||
|
||||
private double imageScale = 1;
|
||||
|
|
Loading…
Reference in New Issue