Skip to content

Commit

Permalink
Fixed Animation bug not reaching EndValue
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCheatsrichter committed Aug 23, 2019
1 parent 6d83ba9 commit df9d628
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Gw2 Launchbuddy/GUI_ApplicationManager.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@
<ResourceDictionary Source="Launchbuddy_default_theme.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Storyboard x:Key="anim_show">
<DoubleAnimation From="{Binding ElementName=myWindow,Path=ActualHeight}" To="{Binding ElementName=myWindow,Path=MaxHeight}" Duration="0:0:0.5"
<DoubleAnimation To="{Binding ElementName=myWindow,Path=MaxHeight}" Duration="0:0:0.5"
Storyboard.TargetName="myWindow"
Storyboard.TargetProperty="Height"
FillBehavior="Stop"
>
<DoubleAnimation.EasingFunction>
<ExponentialEase Exponent="6" EasingMode="EaseIn"/>
<PowerEase Power="2"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</Storyboard>
<Storyboard x:Key="anim_collapse">
<DoubleAnimation From="{Binding ElementName=myWindow,Path=ActualHeight}" To="{Binding ElementName=myWindow,Path=MinHeight}" Duration="0:0:0.5"
<DoubleAnimation To="{Binding ElementName=myWindow,Path=MinHeight}" Duration="0:0:0.5"
Storyboard.TargetName="myWindow"
Storyboard.TargetProperty="Height"
FillBehavior="Stop"
>
<DoubleAnimation.EasingFunction>
<ExponentialEase Exponent="6" EasingMode="EaseOut"/>
<PowerEase Power="2"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</Storyboard>
Expand Down

0 comments on commit df9d628

Please sign in to comment.