Skip to content

Commit

Permalink
chore: Remove unneeded Antialias
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Aug 15, 2023
1 parent 59d9ca7 commit f3ac8f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Uno.UI/UI/Xaml/Media/Brush.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ internal void ApplyToFillPaint(Windows.Foundation.Rect destinationRect, Paint pa
}

paint.Reset();
ApplyToPaintInner(destinationRect, paint);
paint.AntiAlias = true;
ApplyToPaintInner(destinationRect, paint);
paint.SetStyle(SystemFill);
}

Expand All @@ -58,8 +58,8 @@ internal void ApplyToStrokePaint(Windows.Foundation.Rect destinationRect, Paint
}

paint.Reset();
ApplyToPaintInner(destinationRect, paint);
paint.AntiAlias = true;
ApplyToPaintInner(destinationRect, paint);
paint.SetStyle(SystemStroke);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ protected override void ApplyToPaintInner(Rect destinationRect, Paint paint)
{
// By default fallback to FallbackColor, unless overridden by a derived class.
paint.Color = FallbackColorWithOpacity;
paint.AntiAlias = true;
}
}

0 comments on commit f3ac8f0

Please sign in to comment.