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
This commit is contained in:
iobyte 2024-01-22 17:42:14 +00:00
parent 983b3e874f
commit 8f84feaaad
2 changed files with 9 additions and 1 deletions

View File

@ -1067,6 +1067,14 @@ public class SegmentEditorDlg extends JDialog implements SliderListener
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)

View File

@ -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.13";
public final String version = "1.4.14";
private String path;
private double imageScale = 1;