From: jjie.choi Date: Thu, 25 May 2017 05:34:33 +0000 (+0900) Subject: Apps Item focus bug fixed. X-Git-Tag: submit/tizen/20170808.015446~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=135babded280d5bb6a21b08e9b3bff1a27d8e844;p=profile%2Ftv%2Fapps%2Fdotnet%2Fhome.git Apps Item focus bug fixed. Change-Id: Id76caebf39250b992c05de699bae1a334961a80b Signed-off-by: jjie.choi --- diff --git a/TVApps/TVApps/Controls/AppItemCell.xaml.cs b/TVApps/TVApps/Controls/AppItemCell.xaml.cs index 58e38f7..048ad03 100755 --- a/TVApps/TVApps/Controls/AppItemCell.xaml.cs +++ b/TVApps/TVApps/Controls/AppItemCell.xaml.cs @@ -109,7 +109,7 @@ namespace TVApps.Controls /// /// Identifies the IsFocused bindable property /// - 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); /// /// 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); }