Commit bd9b8337 authored by Nico Mack's avatar Nico Mack

Fixed minor fading bug causing coronas not being fadeout after display

time elapsed if not previously fadein.
parent fc189824
......@@ -162,6 +162,16 @@ public class FadingCorona extends Corona implements TimelineCallback, ActionList
// ---------------------------------------------------------------------------
@Override
public void onTable() {
super.onTable();
if (this.active && fadingEnabled && (displayTimer != null)) {
displayTimer.start();
}
}
// ---------------------------------------------------------------------------
public void fadeOut() {
if (!fadingEnabled) {
......@@ -193,12 +203,14 @@ public class FadingCorona extends Corona implements TimelineCallback, ActionList
// ---------------------------------------------------------------------------
@Override
public void paint(Graphics2D canvas) {}
public void paint(Graphics2D canvas) {
}
// ---------------------------------------------------------------------------
@Override
public void onTimelinePulse(float durationFraction, float timelinePosition) {}
public void onTimelinePulse(float durationFraction, float timelinePosition) {
}
// ---------------------------------------------------------------------------
......
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