Skip to content

Commit

Permalink
Merge branch '2817-TransitioningContentControl-TransitionCompleted-fi…
Browse files Browse the repository at this point in the history
…x' into develop
  • Loading branch information
punker76 committed Jan 27, 2017
2 parents eb7cd4b + 224c283 commit e0a01ef
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,12 @@ public void ReloadTransition()

private void OnTransitionCompleted(object sender, EventArgs e)
{
var clockGroup = sender as ClockGroup;
this.AbortTransition();
this.TransitionCompleted?.Invoke(this, new RoutedEventArgs());
if (clockGroup == null || clockGroup.CurrentState == ClockState.Stopped)
{
this.TransitionCompleted?.Invoke(this, new RoutedEventArgs());
}
}

public void AbortTransition()
Expand Down

0 comments on commit e0a01ef

Please sign in to comment.