Skip to content

Commit

Permalink
Fix BoxShadow style changes not triggering render updates (#13932)
Browse files Browse the repository at this point in the history
  • Loading branch information
Al12rs authored Dec 17, 2023
1 parent 63a5bcc commit 06a3727
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Avalonia.Controls/Presenters/ContentPresenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,12 @@ public class ContentPresenter : Control
/// </summary>
static ContentPresenter()
{
AffectsRender<ContentPresenter>(BackgroundProperty, BorderBrushProperty, BorderThicknessProperty, CornerRadiusProperty);
AffectsRender<ContentPresenter>(
BackgroundProperty,
BorderBrushProperty,
BorderThicknessProperty,
CornerRadiusProperty,
BoxShadowProperty);
AffectsArrange<ContentPresenter>(HorizontalContentAlignmentProperty, VerticalContentAlignmentProperty);
AffectsMeasure<ContentPresenter>(BorderThicknessProperty, PaddingProperty);
}
Expand Down

0 comments on commit 06a3727

Please sign in to comment.