diff options
| author | monikahedman <monika_hedman@brown.edu> | 2020-02-09 16:14:39 -0500 |
|---|---|---|
| committer | monikahedman <monika_hedman@brown.edu> | 2020-02-09 16:14:39 -0500 |
| commit | 771fa67f7fe9b389415bf7043f3832ac92120431 (patch) | |
| tree | 76e526075185499de588a2f97e71b1959a6304e1 /src/client/views/animationtimeline/Track.tsx | |
| parent | 79f70eebe0a29f8f3d759eff82dd3446ac3d5ed1 (diff) | |
| parent | ba835bbe5b31e2ad0badc9f960b75f639e0b02e0 (diff) | |
Merge branch 'monika_animation' of https://github.com/browngraphicslab/Dash-Web into monika_animation
Diffstat (limited to 'src/client/views/animationtimeline/Track.tsx')
| -rw-r--r-- | src/client/views/animationtimeline/Track.tsx | 7 |
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 * |
