Skip to content
Snippets Groups Projects
Commit 86638336 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#157 - Fixed warning animation

parent 45f6f97e
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ public interface ModernDesignHandlerParent ...@@ -34,7 +34,7 @@ public interface ModernDesignHandlerParent
{ {
if(pad.getContent() instanceof Durationable) if(pad.getContent() instanceof Durationable)
{ {
final Durationable durationable = (Durationable) pad; final Durationable durationable = (Durationable) pad.getContent();
if(warningDuration.greaterThan(durationable.getDuration())) if(warningDuration.greaterThan(durationable.getDuration()))
{ {
return durationable.getDuration(); return durationable.getDuration();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment