Merge pull request #1399 from SiboVG/issue-1397
[#1397] Fix streamer packed length updating strip width
This commit is contained in:
commit
40bd725e9b
@ -63,17 +63,6 @@ public class Streamer extends RecoveryDevice {
|
||||
fireComponentChangeEvent(ComponentChangeEvent.BOTH_CHANGE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setLength(double length) {
|
||||
for (RocketComponent listener : configListeners) {
|
||||
if (listener instanceof Streamer) {
|
||||
((Streamer) listener).setStripWidth(length);
|
||||
}
|
||||
}
|
||||
|
||||
setStripWidth(length);
|
||||
}
|
||||
|
||||
|
||||
public double getAspectRatio() {
|
||||
if (stripWidth > 0.0001)
|
||||
|
Loading…
x
Reference in New Issue
Block a user