[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>
Tue, 21 Dec 2021 09:32:16 +0000 (18:32 +0900)
src/Tizen.NUI/src/public/BaseComponents/AnimatedVectorImageView.cs

index 0c18948..b86391b 100755 (executable)
@@ -490,12 +490,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: