Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

But @Canvas.animateResize(Integer, Integer, AnimationCallback)

$
0
0
Hi, I found a bug in your sourcecode. The method animateResize (Integer, Integer, AnimationCallback) in class Canvas(line 4611) calls the Method animateResize(Integer,Integer, AnimationCallback, int, AnimationAcceleration).

Because the fourth argument is missing you hardcast null to Integer. This throws always a NullPointerException. Pls fix.

Workaround: If you need the Callback use the animateResize-Method with five parameters and set duration to a default value like 200.

Viewing all articles
Browse latest Browse all 4756

Trending Articles