Browse Source
Merge pull request #6907 from YohDeadfall/use-args
Use event args to get value instead of field
pull/6912/head
Max Katz
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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>()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|