[NUI] Modify seamless bug & update sample (#2102)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / FrameBroker / DefaultFrameBroker.cs
index ff76b85..3d65302 100755 (executable)
@@ -64,11 +64,7 @@ namespace Tizen.NUI
                 providerImage.Size = window.Size;
                 window.Add(providerImage);
 
-                if (animation is SlideIn)
-                {
-                    SlideIn slideIn = animation as SlideIn;
-                    providerImage.PositionX = slideIn.GetDefaultInitValue();
-                }
+                providerImage.PositionX = animation.GetDefaultInitValue();
 
                 animation.PlayAnimateTo(providerImage);
             }