From d89930e9f0f3bd7ca5b0d77a32636ca46e2ecf1a Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Mon, 10 Aug 2015 16:37:59 +0200 Subject: [PATCH] Show focus adorner when using directional keys. --- Perspex.Controls/Control.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Perspex.Controls/Control.cs b/Perspex.Controls/Control.cs index 8b98f0fd7e..97d6a94c36 100644 --- a/Perspex.Controls/Control.cs +++ b/Perspex.Controls/Control.cs @@ -355,7 +355,9 @@ namespace Perspex.Controls { base.OnGotFocus(e); - if (this.IsFocused && e.NavigationMethod == NavigationMethod.Tab) + if (this.IsFocused && + (e.NavigationMethod == NavigationMethod.Tab || + e.NavigationMethod == NavigationMethod.Directional)) { var adornerLayer = AdornerLayer.GetAdornerLayer(this);