Skip to content

Commit

Permalink
Fix animation not clipping in Calendar (MaterialDesignInXAML#2615)
Browse files Browse the repository at this point in the history
* Fix animation not clipping

* Fix typo

removed property added by mistake
  • Loading branch information
StefanoRivolta-Previero authored Mar 25, 2022
1 parent 057d099 commit 0bb56b1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@
</VisualStateManager.VisualStateGroups>

<wpf:Card UniformCornerRadius="2" Background="{TemplateBinding Background}" Padding="0 -1 0 0"
wpf:ShadowAssist.ShadowDepth="{TemplateBinding wpf:ShadowAssist.ShadowDepth}">
wpf:ShadowAssist.ShadowDepth="{TemplateBinding wpf:ShadowAssist.ShadowDepth}"
ClipContent="True">

<Grid RenderOptions.ClearTypeHint="Enabled">
<Grid.Resources>
Expand Down Expand Up @@ -699,4 +700,4 @@
<Setter Property="wpf:CalendarAssist.HeaderBackground" Value="Transparent"/>
<Setter Property="wpf:CalendarAssist.HeaderForeground" Value="{DynamicResource MaterialDesignBody}"/>
</Style>
</ResourceDictionary>
</ResourceDictionary>

0 comments on commit 0bb56b1

Please sign in to comment.