diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/animationtimeline/Timeline.tsx | 1 | ||||
-rw-r--r-- | src/client/views/animationtimeline/Track.tsx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/animationtimeline/Timeline.tsx b/src/client/views/animationtimeline/Timeline.tsx index 914c19b53..d27990bd6 100644 --- a/src/client/views/animationtimeline/Timeline.tsx +++ b/src/client/views/animationtimeline/Timeline.tsx @@ -574,6 +574,7 @@ export class Timeline extends React.Component<FieldViewProps> { //TODO: remove undefineds and duplicates } }); + console.log(longestTime); return longestTime; } 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; |