From fb9cbca164800c26baee2d0bde171e9e052b7866 Mon Sep 17 00:00:00 2001 From: monikahedman Date: Sun, 9 Feb 2020 14:55:25 -0500 Subject: taking out right information --- src/client/views/animationtimeline/Timeline.tsx | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/client/views/animationtimeline/Timeline.tsx b/src/client/views/animationtimeline/Timeline.tsx index 2ac7e6c92..e4af43e0a 100644 --- a/src/client/views/animationtimeline/Timeline.tsx +++ b/src/client/views/animationtimeline/Timeline.tsx @@ -433,6 +433,8 @@ export class Timeline extends React.Component { lengthString = ""; } + // let rightInfo = this.timeIndicator; + return (
@@ -452,15 +454,30 @@ export class Timeline extends React.Component {
-
{lengthString}
- -
Current: {this.getCurrentTime()}
+ {this.timeIndicator(lengthString)} + {/* {rightInfo} */}
); } + timeIndicator(lengthString: string) { + if (this.props.Document.isATOn) { + return ( + <> +
{lengthString}
+ + + ); + } + else { + return ( +
Current: {this.getCurrentTime()}
+ ); + } + } + /** * manual time input (kinda broken right now) */ -- cgit v1.2.3-70-g09d2