chore: close #947

This commit is contained in:
NaBian committed 2022-10-15 20:06:13 +08:00
1 parent b406016587
commit 9afb1913d7
1 file changed
+12
@@ -104,4 +104,16 @@ public class TransitioningContentControl : ContentControl
StartTransition();
}
protected override void OnContentChanged(object oldContent, object newContent)
{
base.OnContentChanged(oldContent, newContent);
if (newContent is null)
{
return;
}
StartTransition();
}
}