diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-07-12 22:19:05 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-07-12 22:19:05 -0400 |
| commit | f9c833cafb9c0268435aef4eafe240c3403d7472 (patch) | |
| tree | eb9a0859c6a4c9be5e72434e8a8fca394baa58df /src/client/views/collections/CollectionVideoView.tsx | |
| parent | 4db507d08249ccddf664798ab59c3b729c3d1065 (diff) | |
| parent | 59d32987f4f220c97a3b3cd4886ba47f3e8c4341 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/collections/CollectionVideoView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionVideoView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionVideoView.tsx b/src/client/views/collections/CollectionVideoView.tsx index 8d519ff2b..f731c4cef 100644 --- a/src/client/views/collections/CollectionVideoView.tsx +++ b/src/client/views/collections/CollectionVideoView.tsx @@ -27,7 +27,7 @@ export class CollectionVideoView extends React.Component<FieldViewProps> { private get uIButtons() { let scaling = Math.min(1.8, this.props.ScreenToLocalTransform().Scale); let curTime = NumCast(this.props.Document.curPage); - return ([ + return (VideoBox._showControls ? [] : [ <div className="collectionVideoView-time" key="time" onPointerDown={this.onResetDown} style={{ transform: `scale(${scaling}, ${scaling})` }}> <span>{"" + Math.round(curTime)}</span> <span style={{ fontSize: 8 }}>{" " + Math.round((curTime - Math.trunc(curTime)) * 100)}</span> |
