From 8d28c35bb9cf6ec190dbfed2e2cda8b5d1454efb Mon Sep 17 00:00:00 2001
From: ab <abdullah_ahmed@brown.edu>
Date: Sun, 9 Feb 2020 16:15:28 -0500
Subject: some changes

---
 src/client/views/animationtimeline/Timeline.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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

diff --git a/src/client/views/animationtimeline/Timeline.tsx b/src/client/views/animationtimeline/Timeline.tsx
index 42bb02e85..9e90cc764 100644
--- a/src/client/views/animationtimeline/Timeline.tsx
+++ b/src/client/views/animationtimeline/Timeline.tsx
@@ -539,8 +539,10 @@ export class Timeline extends React.Component<FieldViewProps> {
     tracks = () => {
         console.log(this.mapOfTracks.length);
         this.mapOfTracks.forEach(track => {
-            if (track !== null) {
-                track.getLastRegion();
+            console.log(track); 
+            if (track) {
+                const region = track.getLastRegion();
+                console.log(region.time); 
             } else {
 
             }
-- 
cgit v1.2.3-70-g09d2

