Fix replay being restarted when resuming path playback
This commit is contained in:
@@ -67,7 +67,7 @@ public class RealtimeTimelinePlayer extends AbstractTimelinePlayer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long getTimePassed() {
|
public long getTimePassed() {
|
||||||
if (firstFrame) return 0;
|
if (firstFrame) return startOffset;
|
||||||
if (loadingResources) return timeBeforeResourceLoading;
|
if (loadingResources) return timeBeforeResourceLoading;
|
||||||
return System.currentTimeMillis() - startTime;
|
return System.currentTimeMillis() - startTime;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user