Browse Source

Removed ColorTransitions from AnimationsPage.xaml

Jumar Macato 7 years ago
parent
commit
2a96099ac2
1 changed files with 2 additions and 10 deletions
  1. 2 10
      samples/RenderTest/Pages/AnimationsPage.xaml

+ 2 - 10
samples/RenderTest/Pages/AnimationsPage.xaml

@@ -15,16 +15,8 @@
         <Setter Property="Background" Value="Cyan"/>
         <Setter Property="Child" Value="{StaticResource Acorn}"/>
       </Style>
-      <Style Selector="Border.Rect1">
-        <Setter Property="Transitions">
-          <Transitions>
-            <ColorTransition Property="Background" Duration="0:0:1" />
-          </Transitions>
-        </Setter>
-      </Style>
       <Style Selector="Border.Rect1:pointerover">
-        <Setter Property="Background" Value="Red"/>
-        <Style.Animations>
+         <Style.Animations>
           <Animation Duration="0:0:2.5" Easing="SineEaseInOut">
             <TransformKeyFrames Property="RotateTransform.Angle">
               <KeyFrame Cue="0%" Value="0"/>
@@ -88,7 +80,7 @@
         <Button Content="{Binding PlayStateText}" Command="{Binding ToggleGlobalPlayState}"/>
       </StackPanel>
       <WrapPanel ClipToBounds="False">
-        <Border Classes="Test Rect1">
+        <Border Classes="Test Rect2" Background="DarkRed">
           <Border.RenderTransform>
             <TransformGroup>
               <RotateTransform/>