Languages

Menu
Sites
Language
Animation problem

Hello,

I'm using this kind of code to animate panels in my app:

ControlAnimator* controlAnimator = control->GetControlAnimator();
controlAnimator->StopAllAnimations();

FloatAnimation alphaAnimation = FloatAnimation(startAlpha, stopAlpha, miliseconds, ANIMATION_INTERPOLATOR_LINEAR);
controlAnimator->StartUserAnimation(ANIMATION_TARGET_ALPHA, alphaAnimation);

But there is a problem. When I'm pressing button fast over a dozen times to show/hide panel with that animation and i'm rotating my device (so orientation changes). I'm getting : 

 

Any ideas except not using animations at all?

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
wil smith
It looks to be a bug, log a bug report@https://bugs.tizen.org/jira/secure/Dashboard.jspa
youngsik yoon
i think you should lock device orientation using GetOrientationStatus() and SetOrientation during animation.