Apps Item focus bug fixed.
authorjjie.choi <jjie.choi@samsung.com>
Thu, 25 May 2017 05:34:33 +0000 (14:34 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:56 +0000 (18:34 +0900)
Change-Id: Id76caebf39250b992c05de699bae1a334961a80b
Signed-off-by: jjie.choi <jjie.choi@samsung.com>
TVApps/TVApps/Controls/AppItemCell.xaml.cs

index 58e38f7..048ad03 100755 (executable)
@@ -109,7 +109,7 @@ namespace TVApps.Controls
         /// <summary>
         /// Identifies the IsFocused bindable property
         /// </summary>
-        public static readonly BindableProperty IsItemFocusedProperty = BindableProperty.Create("IsFocused", typeof(bool), typeof(AppItemCell), default(bool), BindingMode.TwoWay);
+        public static readonly BindableProperty IsItemFocusedProperty = BindableProperty.Create("IsItemFocused", typeof(bool), typeof(AppItemCell), default(bool), BindingMode.TwoWay);
 
         /// <summary>
         /// Gets or sets focus state of AppItemCell
@@ -250,13 +250,12 @@ namespace TVApps.Controls
             if (e.PropertyName.CompareTo("IsPinned") == 0)
             {
                 PinnedIcon.FadeTo((IsPinned) ? 0.99 : 0.0, 300);
-
                 return;
             }
             else if (e.PropertyName.CompareTo("IsChecked") == 0)
             {
                 // TODO : Change Animation (Add Pin Contents Item : Unselected)
-                if (IsFocused)
+                if (IsItemFocused)
                 {
                     this.AbortAnimation("CheckedAnimation");
                     this.Animate("CheckedAnimation", (v) =>
@@ -281,7 +280,7 @@ namespace TVApps.Controls
                         {
                             StrokeImage.FadeTo(0.99, 167);
                             DimImage.FadeTo(0.99, 167);
-                            StrokeImage.ScaleTo(1.195, 167);
+                            StrokeImage.ScaleTo(1.195, 0);
                             DimImage.ScaleTo(1.195, 167);
                         }