Commit c31f6b24 authored by Nico Mack's avatar Nico Mack

Minor bug fixes

parent 87e130a1
......@@ -79,6 +79,8 @@ public class RadialWipe extends ValueCorona {
static final Point ZERO = new Point(0f, 0f, 0f, ScreenCoordinates.class);
private static final String NORMALIZED_VALUE_PROPERTY = "normalizedValue"; //$NON-NLS-1$
// ---------------------------------------------------------------------------
// ***************************************************************************
// * Constructor(s) *
......@@ -299,7 +301,7 @@ public class RadialWipe extends ValueCorona {
balisticTimeline.cancel();
balisticTimeline = new Timeline(this);
balisticTimeline.addPropertyToInterpolate("normalizedValue", normalizedValue, value); //$NON-NLS-1$
balisticTimeline.addPropertyToInterpolate(NORMALIZED_VALUE_PROPERTY, normalizedValue, value); // $NON-NLS-1$
balisticTimeline.setDuration(rampingTime);
balisticTimeline.play();
} else {
......
......@@ -111,6 +111,7 @@ public class ValueCorona extends SelectableCorona implements InformationReceiver
numerical = Variable.castTo(systemVariable, NumericalVariable.class);
if (numerical != null) {
this.variable = numerical;
this.setInformation(this.variable.getValue());
connected.add(this.variable);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment