diff options
| author | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-19 14:14:28 +0800 |
|---|---|---|
| committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-19 14:14:28 +0800 |
| commit | 10754a14c8d0dda68f2484e523f6901b3e7daee3 (patch) | |
| tree | 7e7495746624949a3b9f7da85f3967af9e9e6b9e /src/client/views/collections/collectionFreeForm | |
| parent | cb5fa90bb580c2d618e279275c1e2cb49ce3d90c (diff) | |
css changes and bug fixes
Presentation
Undo / Redo
Image upload
Record Audio
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 82d6dee73..327e172bb 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1199,7 +1199,7 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P onContextMenu = (e: React.MouseEvent) => { if (this.props.annotationsKey) return; - ContextMenu.Instance.addItem({ + ContextMenu.Instance?.addItem({ description: (this._timelineVisible ? "Close" : "Open") + " Animation Timeline", event: action(() => { this._timelineVisible = !this._timelineVisible; }), icon: this._timelineVisible ? faEyeSlash : faEye |
