Browse Source

Show focus adorner when using directional keys.

pull/72/merge
Steven Kirk 11 years ago
parent
commit
d89930e9f0
  1. 4
      Perspex.Controls/Control.cs

4
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);

Loading…
Cancel
Save