Browse Source
Fix BoxShadow style changes not triggering render updates (#13932)
pull/13989/head
Al
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
src/Avalonia.Controls/Presenters/ContentPresenter.cs
|
|
|
@ -169,7 +169,12 @@ namespace Avalonia.Controls.Presenters |
|
|
|
/// </summary>
|
|
|
|
static ContentPresenter() |
|
|
|
{ |
|
|
|
AffectsRender<ContentPresenter>(BackgroundProperty, BorderBrushProperty, BorderThicknessProperty, CornerRadiusProperty); |
|
|
|
AffectsRender<ContentPresenter>( |
|
|
|
BackgroundProperty, |
|
|
|
BorderBrushProperty, |
|
|
|
BorderThicknessProperty, |
|
|
|
CornerRadiusProperty, |
|
|
|
BoxShadowProperty); |
|
|
|
AffectsArrange<ContentPresenter>(HorizontalContentAlignmentProperty, VerticalContentAlignmentProperty); |
|
|
|
AffectsMeasure<ContentPresenter>(BorderThicknessProperty, PaddingProperty); |
|
|
|
} |
|
|
|
|