From d9990be832185b31375aaeb458c21addb389c32e Mon Sep 17 00:00:00 2001
From: andrewdkim <adkim414@gmail.com>
Date: Mon, 10 Feb 2020 20:30:59 -0500
Subject: fixed time

---
 src/client/views/animationtimeline/Track.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/animationtimeline/Track.tsx')

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; 
-- 
cgit v1.2.3-70-g09d2

