Change Cd slider UnitGroup to coefficient
This commit is contained in:
parent
6dc3337eaf
commit
0511bbda4f
@ -393,8 +393,7 @@ public class RocketComponentConfig extends JPanel {
|
|||||||
check.setText(trans.get("RocketCompCfg.checkbox.SetDragCoeff"));
|
check.setText(trans.get("RocketCompCfg.checkbox.SetDragCoeff"));
|
||||||
panel.add(check, "growx 1, gapright 20lp");
|
panel.add(check, "growx 1, gapright 20lp");
|
||||||
|
|
||||||
m = new DoubleModel(component, "OverrideCD", UnitGroup.UNITS_NONE, 0);
|
m = new DoubleModel(component, "OverrideCD", UnitGroup.UNITS_COEFFICIENT, 0);
|
||||||
|
|
||||||
spin = new JSpinner(m.getSpinnerModel());
|
spin = new JSpinner(m.getSpinnerModel());
|
||||||
|
|
||||||
spin.setEditor(new SpinnerEditor(spin));
|
spin.setEditor(new SpinnerEditor(spin));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user