Browse Source

Use event args to get value instead of feild

pull/6907/head
Yoh Deadfall 4 years ago
parent
commit
618f70a0f4
  1. 2
      src/Avalonia.Input/InputElement.cs

2
src/Avalonia.Input/InputElement.cs

@ -632,7 +632,7 @@ namespace Avalonia.Input
}
else if (change.Property == IsKeyboardFocusWithinProperty)
{
PseudoClasses.Set(":focus-within", _isKeyboardFocusWithin);
PseudoClasses.Set(":focus-within", change.NewValue.GetValueOrDefault<bool>());
}
}

Loading…
Cancel
Save