[NUI] fix AnimatedVectorImageView's current frame set defect
authordongsug.song <dongsug.song@samsung.com>
Fri, 22 Jul 2022 09:30:16 +0000 (18:30 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Mon, 25 Jul 2022 08:33:12 +0000 (17:33 +0900)
src/Tizen.NUI/src/public/BaseComponents/AnimatedVectorImageView.cs

index e69c03e..9883dab 100755 (executable)
@@ -228,6 +228,7 @@ namespace Tizen.NUI.BaseComponents
                 innerCurrentFrame = value;
                 AnimationState = AnimationStates.Paused;
 
+                base.SetMinMaxFrame(0, IntegerMaxValue);
                 base.CurrentFrame = innerCurrentFrame;
 
                 NUILog.Debug($" [{GetId()}] innerCurrentFrame={innerCurrentFrame}) ]AnimatedVectorImageView END]");
@@ -604,6 +605,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
         private AnimationStates CurrentAnimationState = AnimationStates.Stopped;
+        private const int IntegerMaxValue = 0x7FFFFFFF;
         #endregion Private
     }
 }