From 693685cff442b46dd7d0bb4f61d9b9409138b5fc Mon Sep 17 00:00:00 2001 From: "jjie.choi" Date: Tue, 9 May 2017 16:16:37 +0900 Subject: [PATCH] Set focus when dismiss context popup. Change-Id: Ibe33e6817865f77489f11ec04852059c3ce1df7f Signed-off-by: jjie.choi --- TVApps/TVApps/Controls/AppItemCell.xaml.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TVApps/TVApps/Controls/AppItemCell.xaml.cs b/TVApps/TVApps/Controls/AppItemCell.xaml.cs index 0322556..d7b8f75 100755 --- a/TVApps/TVApps/Controls/AppItemCell.xaml.cs +++ b/TVApps/TVApps/Controls/AppItemCell.xaml.cs @@ -298,8 +298,8 @@ namespace TVApps.Controls public void ShowOptionMenu(bool isShow) { ButtonImage.ScaleTo((isShow) ? 1 : 1.195, 167); - ButtonImage.TranslateTo(0, (isShow) ? 0 : height84, 334); - TextArea.TranslateTo(0, (isShow) ? height300 : height284, 167); + ButtonImage.TranslateTo(0, (isShow) ? 0 : height100, 334); + TextArea.TranslateTo(0, (isShow) ? height300 : height300, 167); TextArea.FadeTo((isShow) ? 0.0 : 0.99, 50); if (isShow) @@ -367,6 +367,7 @@ namespace TVApps.Controls isPopupShowing = false; ShowOptionMenu(false); + ButtonFocusArea.Focus(); }; popup.Show(this, this.Width / 2, this.Height - height144); -- 2.34.1