Merge pull request #2038 from SiboVG/issue-2033
[#2033] Fix negative slider value in instance separation
This commit is contained in:
commit
8360b16c0a
@ -132,7 +132,7 @@ public class RailButtonConfig extends RocketComponentConfig {
|
||||
if (component.getParent() != null && component.getParent().getLength() > 0) {
|
||||
maxSeparationDistance = component.getParent().getLength();
|
||||
}
|
||||
panel.add(new BasicSlider(separationModel.getSliderModel(0, 0.001, maxSeparationDistance)), "w 100lp, wrap para");
|
||||
panel.add(new BasicSlider(separationModel.getSliderModel(-maxSeparationDistance, maxSeparationDistance)), "w 100lp, wrap para");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user