aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline/Track.tsx
diff options
context:
space:
mode:
authorandrewdkim <adkim414@gmail.com>2020-02-10 20:30:59 -0500
committerandrewdkim <adkim414@gmail.com>2020-02-10 20:30:59 -0500
commitd9990be832185b31375aaeb458c21addb389c32e (patch)
tree6226011bbf52bc6ec235a9b81197d407cf71206d /src/client/views/animationtimeline/Track.tsx
parent9953433d0019f53474f3a50fe96f04a1e7af543f (diff)
fixed time
Diffstat (limited to 'src/client/views/animationtimeline/Track.tsx')
-rw-r--r--src/client/views/animationtimeline/Track.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/animationtimeline/Track.tsx b/src/client/views/animationtimeline/Track.tsx
index 69e65fbcf..705cc33a2 100644
--- a/src/client/views/animationtimeline/Track.tsx
+++ b/src/client/views/animationtimeline/Track.tsx
@@ -85,7 +85,7 @@ export class Track extends React.Component<IProps> {
let lastTime:number = 0;
let lastRegion:(Doc | undefined);
DocListCast(this.regions).forEach(region => {
- const time = NumCast(region.time);
+ const time = NumCast(region.position);
if (lastTime <= time) {
lastTime = time;
lastRegion = region;