diff --git a/Chapter22/BouncingBox/BouncingBox/BouncingBox/BouncingBoxPage.xaml.cs b/Chapter22/BouncingBox/BouncingBox/BouncingBox/BouncingBoxPage.xaml.cs index 572406102..f450d7621 100644 --- a/Chapter22/BouncingBox/BouncingBox/BouncingBox/BouncingBoxPage.xaml.cs +++ b/Chapter22/BouncingBox/BouncingBox/BouncingBox/BouncingBoxPage.xaml.cs @@ -33,6 +33,7 @@ void OnAbsoluteLayoutSizeChanged(object sender, EventArgs args) if (!animationGoing && layoutSize > 100) { animationGoing = true; + boxView.IsVisible = true; AnimationLoop(); } }