Remove animations on listbox items (#5563)

This commit is contained in:
MutantAura 2023-08-13 21:40:40 +01:00 committed by GitHub
parent 2efd74b9cb
commit ddefb4fff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,28 +335,6 @@
Value="{DynamicResource AppListBackgroundColor}" /> Value="{DynamicResource AppListBackgroundColor}" />
<Setter Property="BorderThickness" <Setter Property="BorderThickness"
Value="2"/> Value="2"/>
<Style.Animations>
<Animation Duration="0:0:0.7">
<KeyFrame Cue="0%">
<Setter Property="MaxHeight"
Value="0" />
<Setter Property="Opacity"
Value="0.0" />
</KeyFrame>
<KeyFrame Cue="50%">
<Setter Property="MaxHeight"
Value="1000" />
<Setter Property="Opacity"
Value="0.3" />
</KeyFrame>
<KeyFrame Cue="100%">
<Setter Property="MaxHeight"
Value="1000" />
<Setter Property="Opacity"
Value="1.0" />
</KeyFrame>
</Animation>
</Style.Animations>
</Style> </Style>
<Style Selector="ListBox ListBoxItem:selected /template/ ContentPresenter"> <Style Selector="ListBox ListBoxItem:selected /template/ ContentPresenter">
<Setter Property="Background" <Setter Property="Background"