Fix playback position being set incorrectly for IAnimationTimeReference

This commit is contained in:
Dean Herbert 2020-04-06 13:04:32 +09:00
parent 66b8a8ad2e
commit 33c64428a8
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ protected override void LoadComplete()
if (timeReference != null)
{
Clock = timeReference.Clock;
PlaybackPosition = timeReference.AnimationStartTime - timeReference.Clock.CurrentTime;
PlaybackPosition = timeReference.Clock.CurrentTime - timeReference.AnimationStartTime;
}
}
}