@@ -579,12 +579,6 @@ private void AnimateChildrenIn(bool reverse)
579
579
uiElement . SetCurrentValue ( RenderTransformOriginProperty , new Point ( .5 , .5 ) ) ;
580
580
uiElement . RenderTransform = transformGroup ;
581
581
582
- var opacityAnimation = new DoubleAnimationUsingKeyFrames ( ) ;
583
- opacityAnimation . KeyFrames . Add ( new EasingDoubleKeyFrame ( 0 , absoluteZeroKeyTime , sineEase ) ) ;
584
- opacityAnimation . KeyFrames . Add ( new EasingDoubleKeyFrame ( 0 , deferredStartKeyTime , sineEase ) ) ;
585
- opacityAnimation . KeyFrames . Add ( new EasingDoubleKeyFrame ( 1 , deferredEndKeyTime , sineEase ) ) ;
586
- Storyboard . SetTargetProperty ( opacityAnimation , new PropertyPath ( "Opacity" ) ) ;
587
- Storyboard . SetTarget ( opacityAnimation , uiElement ) ;
588
582
589
583
var scaleXAnimation = new DoubleAnimationUsingKeyFrames ( ) ;
590
584
scaleXAnimation . KeyFrames . Add ( new EasingDoubleKeyFrame ( 0 , absoluteZeroKeyTime , sineEase ) ) ;
@@ -609,7 +603,6 @@ private void AnimateChildrenIn(bool reverse)
609
603
Storyboard . SetTarget ( translateCoordinateAnimation , uiElement ) ;
610
604
611
605
var storyboard = new Storyboard ( ) ;
612
- storyboard . Children . Add ( opacityAnimation ) ;
613
606
storyboard . Children . Add ( scaleXAnimation ) ;
614
607
storyboard . Children . Add ( scaleYAnimation ) ;
615
608
storyboard . Children . Add ( translateCoordinateAnimation ) ;
0 commit comments