Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Regression #853 (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiMisiukevich committed Mar 12, 2021
1 parent b09804c commit 6e6a28f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,11 @@ ColorStateList GetColorStateList()

void OnLayoutChange(object? sender, AView.LayoutChangeEventArgs e)
{
if (sender is not ViewGroup group || (Group as IVisualElementRenderer)?.Element == null || rippleView == null)
if (sender is not AView view || (Group as IVisualElementRenderer)?.Element == null || rippleView == null)
return;

rippleView.Right = group.Width;
rippleView.Bottom = group.Height;
rippleView.Right = view.Width;
rippleView.Bottom = view.Height;
}

sealed class AccessibilityListener : Java.Lang.Object,
Expand Down

0 comments on commit 6e6a28f

Please sign in to comment.