diff options
| author | tschicke-brown <tyler_schicke@brown.edu> | 2019-05-18 00:41:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-18 00:41:41 -0400 |
| commit | 4d9ada442eb37c59f00682594fe1400a2ad89d92 (patch) | |
| tree | f8b8398c05cc66a9c4905fb078b04f51b26db99b /src/client/views/nodes/ImageBox.tsx | |
| parent | eb22f6d080dfe2210b54478fe17798b6ff9cb0f4 (diff) | |
| parent | d4c4b3e5eb2024b8d050af5c4e018873fbf22339 (diff) | |
Merge pull request #129 from browngraphicslab/contextMenu
Context menu
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
| -rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 33411f978..828ac9bc8 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -1,5 +1,4 @@ - -import { action, observable, trace } from 'mobx'; +import { action, observable } from 'mobx'; import { observer } from "mobx-react"; import Lightbox from 'react-image-lightbox'; import 'react-image-lightbox/style.css'; // This only needs to be imported once in your app @@ -134,7 +133,7 @@ export class ImageBox extends DocComponent<FieldViewProps, ImageDocument>(ImageD ContextMenu.Instance.addItem({ description: "Copy path", event: () => { Utils.CopyText(url); - } + }, icon: "expand-arrows-alt" }); } } |
