Browse Source

Make UpdateIsEffectivelyEnabled available again.

Thanks to feedback.
pull/11437/head
Steven Kirk 3 years ago
parent
commit
235423cc97
  1. 2
      src/Avalonia.Base/Input/InputElement.cs

2
src/Avalonia.Base/Input/InputElement.cs

@ -656,7 +656,7 @@ namespace Avalonia.Input
/// Updates the <see cref="IsEffectivelyEnabled"/> property value according to the parent
/// control's enabled state and <see cref="IsEnabledCore"/>.
/// </summary>
private protected void UpdateIsEffectivelyEnabled()
protected void UpdateIsEffectivelyEnabled()
{
UpdateIsEffectivelyEnabled(this.GetVisualParent<InputElement>());
}

Loading…
Cancel
Save