trackeditor: fix pit indicator options
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8756 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 8638df6d75f0bd40fe0cc4949e13ad1fa89a80d1 Former-commit-id: 32662854c3be15918dda3cb5306481444e4d8eea
This commit is contained in:
parent
57503ed541
commit
542571fc8f
2 changed files with 3 additions and 3 deletions
|
@ -247,9 +247,9 @@ public class PitProperties extends PropertyPanel
|
|||
{
|
||||
if (indicatorComboBox == null)
|
||||
{
|
||||
String[] items = {"none", "no", "yes"};
|
||||
String[] items = {"none", "0 normal_pit_indicator.ac", "1 pit_indicator.ac"};
|
||||
indicatorComboBox = new JComboBox<String>(items);
|
||||
indicatorComboBox.setBounds(120, 307, 125, 23);
|
||||
indicatorComboBox.setBounds(120, 307, 175, 23);
|
||||
int indicator = getEditorFrame().getTrackData().getMainTrack().getPits().getIndicator();
|
||||
if (indicator == Integer.MAX_VALUE)
|
||||
indicator = 0;
|
||||
|
|
|
@ -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.0.5";
|
||||
public final String version = "1.0.6";
|
||||
private String path;
|
||||
|
||||
private double imageScale = 1;
|
||||
|
|
Loading…
Reference in a new issue