forked from speed-dreams/speed-dreams-code
trackeditor: show current profil steps size when segment slider checked
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9268 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 7bdd5aaba5e918a6c1e74b258f25c49dab1275c0 Former-commit-id: 4a6f1188c714917f1b87bebbde02a1138142f812
This commit is contained in:
parent
49dd043e21
commit
4f2334a23d
2 changed files with 9 additions and 1 deletions
|
@ -1067,6 +1067,14 @@ public class SegmentEditorDlg extends JDialog implements SliderListener
|
||||||
slider.setValue(shape.getProfilEndTangent());
|
slider.setValue(shape.getProfilEndTangent());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (slider.getSection().equals("Steps") && slider.getAttr().equals("Len"))
|
||||||
|
{
|
||||||
|
if (slider.isCheckBoxSelected())
|
||||||
|
{
|
||||||
|
shape.setProfilStepsLength(shape.getValidProfilStepsLength(editorFrame));
|
||||||
|
slider.setValue(shape.getProfilStepsLength());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void processWindowEvent(WindowEvent e)
|
protected void processWindowEvent(WindowEvent e)
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class Properties
|
||||||
private static Properties instance = new Properties();
|
private static Properties instance = new Properties();
|
||||||
private Vector<ActionListener> propertiesListeners = new Vector<ActionListener>();
|
private Vector<ActionListener> propertiesListeners = new Vector<ActionListener>();
|
||||||
public final String title = "sd2-trackeditor";
|
public final String title = "sd2-trackeditor";
|
||||||
public final String version = "1.4.13";
|
public final String version = "1.4.14";
|
||||||
private String path;
|
private String path;
|
||||||
|
|
||||||
private double imageScale = 1;
|
private double imageScale = 1;
|
||||||
|
|
Loading…
Reference in a new issue