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()
506506 _animating = true ;
507507 UpdatePosition ( ) ;
508508
509+ ClockPanel . Opacity = 0 ;
510+ SearchIcon . Opacity = 0 ;
511+
509512 windowsb = new Storyboard ( ) ;
510513 clocksb = new Storyboard ( ) ;
511514 iconsb = new Storyboard ( ) ;
@@ -524,15 +527,15 @@ public void WindowAnimator()
524527 From = 1 ,
525528 To = 1 ,
526529 Duration = TimeSpan . FromMilliseconds ( animationLength * 2 / 3 ) ,
527- FillBehavior = FillBehavior . Stop
530+ FillBehavior = FillBehavior . HoldEnd
528531 } ;
529532
530533 var WindowMotion = new DoubleAnimation
531534 {
532535 From = Top ,
533536 To = Top ,
534537 Duration = TimeSpan . FromMilliseconds ( animationLength * 2 / 3 ) ,
535- FillBehavior = FillBehavior . Stop
538+ FillBehavior = FillBehavior . HoldEnd
536539 } ;
537540
538541 var IconMotion = new DoubleAnimation
@@ -541,7 +544,7 @@ public void WindowAnimator()
541544 To = 0 ,
542545 EasingFunction = easing ,
543546 Duration = TimeSpan . FromMilliseconds ( animationLength ) ,
544- FillBehavior = FillBehavior . Stop
547+ FillBehavior = FillBehavior . HoldEnd
545548 } ;
546549
547550 var ClockOpacity = new DoubleAnimation
You can’t perform that action at this time.
0 commit comments