Permalink
Browse files

Fixed #110

  • Loading branch information...
1 parent 2df61c6 commit da1f2719e64160362ba17418fd07d3a9b1b4226e @vikingcode vikingcode committed Jun 2, 2012
Showing with 12 additions and 28 deletions.
  1. +12 −28 MahApps.Metro/Themes/MetroContentControl.xaml
@@ -16,21 +16,13 @@
<VisualStateGroup x:Name="LayoutStates">
<VisualState x:Name="AfterLoaded">
<Storyboard>
- <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
- Storyboard.TargetProperty="(UIElement.Opacity)"
- Storyboard.TargetName="root">
- <SplineDoubleKeyFrame KeyTime="00:00:00"
- Value="0" />
- <SplineDoubleKeyFrame KeyTime="00:00:00.400"
- Value="1" />
+ <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="root">
+ <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" />
+ <SplineDoubleKeyFrame KeyTime="00:00:00.400" Value="1" />
</DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
- Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"
- Storyboard.TargetName="root">
- <SplineDoubleKeyFrame KeyTime="00:00:00"
- Value="-30" />
- <EasingDoubleKeyFrame KeyTime="00:00:00.700"
- Value="0">
+ <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="root">
+ <SplineDoubleKeyFrame KeyTime="00:00:00" Value="30" />
+ <EasingDoubleKeyFrame KeyTime="00:00:00.700" Value="0">
<EasingDoubleKeyFrame.EasingFunction>
<CubicEase EasingMode="EaseOut" />
</EasingDoubleKeyFrame.EasingFunction>
@@ -40,21 +32,13 @@
</VisualState>
<VisualState x:Name="AfterUnLoaded">
<Storyboard>
- <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
- Storyboard.TargetProperty="(UIElement.Opacity)"
- Storyboard.TargetName="root">
- <SplineDoubleKeyFrame KeyTime="00:00:00"
- Value="1" />
- <SplineDoubleKeyFrame KeyTime="00:00:00.100"
- Value="0" />
+ <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="root">
+ <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1" />
+ <SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="0" />
</DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
- Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"
- Storyboard.TargetName="root">
- <SplineDoubleKeyFrame KeyTime="00:00:00"
- Value="0" />
- <SplineDoubleKeyFrame KeyTime="00:00:00.100"
- Value="-30" />
+ <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="root">
+ <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" />
+ <SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="30" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>

0 comments on commit da1f271

Please sign in to comment.