fix shadow crash on announcement page

This commit is contained in:
Lightczx
2023-11-15 12:59:32 +08:00
parent afbc91abe8
commit cf5b377532

View File

@@ -182,7 +182,7 @@
</DataTemplate>
<DataTemplate x:Key="CardTemplate" x:DataType="shvcp:CardReference">
<ItemContainer cw:Effects.Shadow="{StaticResource CompatCardShadow}" Child="{Binding Card}">
<ItemContainer Child="{Binding Card}">
<ItemContainer.Resources>
<SolidColorBrush x:Key="ItemContainerPointerOverBackground" Color="Transparent"/>
</ItemContainer.Resources>