Skip to content

Commit

Permalink
chore: Avoid reacting to CompositionBrushProperty changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Feb 8, 2024
1 parent 6a32079 commit 0845300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Media/Brush.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ internal static void SetupBrushChanged(Brush? oldValue, Brush? newValue, ref Act

internal virtual void OnPropertyChanged2(DependencyPropertyChangedEventArgs args)
{
if (args.Property == DataContextProperty || args.Property == TemplatedParentProperty)
if (args.Property == DataContextProperty || args.Property == TemplatedParentProperty || args.Property == XamlCompositionBrushBase.CompositionBrushProperty)
{
return;
}
Expand Down

0 comments on commit 0845300

Please sign in to comment.