aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline/Track.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/animationtimeline/Track.tsx')
-rw-r--r--src/client/views/animationtimeline/Track.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/views/animationtimeline/Track.tsx b/src/client/views/animationtimeline/Track.tsx
index 84edc6e0a..620668db7 100644
--- a/src/client/views/animationtimeline/Track.tsx
+++ b/src/client/views/animationtimeline/Track.tsx
@@ -80,6 +80,13 @@ export class Track extends React.Component<IProps> {
}
////////////////////////////////
+
+ getLastRegion = () => {
+
+ console.log((this.regions[this.regions.length - 1] as Doc).time);
+ return this.regions[this.regions.length - 1] as Doc;
+ }
+
/**
* keyframe save logic. Needs to be changed so it's more efficient
*