Skip to content

Commit 0bb56b1

Browse files
Fix animation not clipping in Calendar (#2615)
* Fix animation not clipping * Fix typo removed property added by mistake
1 parent 057d099 commit 0bb56b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Calendar.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@
330330
</VisualStateManager.VisualStateGroups>
331331

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

335336
<Grid RenderOptions.ClearTypeHint="Enabled">
336337
<Grid.Resources>
@@ -699,4 +700,4 @@
699700
<Setter Property="wpf:CalendarAssist.HeaderBackground" Value="Transparent"/>
700701
<Setter Property="wpf:CalendarAssist.HeaderForeground" Value="{DynamicResource MaterialDesignBody}"/>
701702
</Style>
702-
</ResourceDictionary>
703+
</ResourceDictionary>

0 commit comments

Comments
 (0)