[NUI] Fix StopFinal(EndAction) not working on lite model
authordongsug.song <dongsug.song@samsung.com>
Fri, 17 Dec 2021 06:45:03 +0000 (15:45 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 17 Dec 2021 08:33:29 +0000 (17:33 +0900)
src/Tizen.NUI/src/public/BaseComponents/AnimatedVectorImageView.cs

index 518b203..12e63f9 100755 (executable)
@@ -425,12 +425,9 @@ namespace Tizen.NUI.BaseComponents
                 switch (isMinMaxFrameSet)
                 {
                     case minMaxSetTypes.NotSetByUser:
-                        if (base.CurrentFrame != totalFrameNum - 1)
-                        {
-                            NUILog.Debug($"isMinMaxFrameSet:{isMinMaxFrameSet}, CurrentFrameNumber:{base.CurrentFrame}, totalFrameNum:{ totalFrameNum}");
-                            base.CurrentFrame = totalFrameNum - 1;
-                            NUILog.Debug($"set CurrentFrameNumber({base.CurrentFrame}) as totalFrameNum({maximumFrame}) - 1 !");
-                        }
+                        NUILog.Debug($"isMinMaxFrameSet:{isMinMaxFrameSet}, CurrentFrameNumber:{base.CurrentFrame}, totalFrameNum:{ totalFrameNum}");
+                        base.CurrentFrame = totalFrameNum - 1;
+                        NUILog.Debug($"set CurrentFrameNumber({base.CurrentFrame}) as totalFrameNum({maximumFrame}) - 1 !");
                         break;
 
                     case minMaxSetTypes.SetByMinAndMaxFrameMethod: