File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -506,6 +506,9 @@ public void WindowAnimator()
506
506
_animating = true ;
507
507
UpdatePosition ( ) ;
508
508
509
+ ClockPanel . Opacity = 0 ;
510
+ SearchIcon . Opacity = 0 ;
511
+
509
512
windowsb = new Storyboard ( ) ;
510
513
clocksb = new Storyboard ( ) ;
511
514
iconsb = new Storyboard ( ) ;
@@ -524,15 +527,15 @@ public void WindowAnimator()
524
527
From = 1 ,
525
528
To = 1 ,
526
529
Duration = TimeSpan . FromMilliseconds ( animationLength * 2 / 3 ) ,
527
- FillBehavior = FillBehavior . Stop
530
+ FillBehavior = FillBehavior . HoldEnd
528
531
} ;
529
532
530
533
var WindowMotion = new DoubleAnimation
531
534
{
532
535
From = Top ,
533
536
To = Top ,
534
537
Duration = TimeSpan . FromMilliseconds ( animationLength * 2 / 3 ) ,
535
- FillBehavior = FillBehavior . Stop
538
+ FillBehavior = FillBehavior . HoldEnd
536
539
} ;
537
540
538
541
var IconMotion = new DoubleAnimation
@@ -541,7 +544,7 @@ public void WindowAnimator()
541
544
To = 0 ,
542
545
EasingFunction = easing ,
543
546
Duration = TimeSpan . FromMilliseconds ( animationLength ) ,
544
- FillBehavior = FillBehavior . Stop
547
+ FillBehavior = FillBehavior . HoldEnd
545
548
} ;
546
549
547
550
var ClockOpacity = new DoubleAnimation
You can’t perform that action at this time.
0 commit comments