diff options
author | Eleanor Eng <eleanoreng@eleanors-mbp.devices.brown.edu> | 2019-02-19 18:24:41 -0500 |
---|---|---|
committer | Eleanor Eng <eleanoreng@eleanors-mbp.devices.brown.edu> | 2019-02-19 18:24:41 -0500 |
commit | e5a14d6dddccc922bb253323b461ac2500c33b7c (patch) | |
tree | d3078b7edf89659bbf689c1a346e09a14575bfd2 /src/client/views/nodes/CollectionFreeFormDocumentView.tsx | |
parent | 9596bd5b6505fa6e9d32630ed7d824d263cd1e63 (diff) |
Different options based on selection
Diffstat (limited to 'src/client/views/nodes/CollectionFreeFormDocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/CollectionFreeFormDocumentView.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx index 54d3a1b56..f37232c08 100644 --- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx +++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx @@ -203,7 +203,6 @@ export class CollectionFreeFormDocumentView extends DocumentView { } if (this.topMost) { - ContextMenu.Instance.clearItems() ContextMenu.Instance.addItem({ description: "Full Screen", event: this.fullScreenClicked }) ContextMenu.Instance.displayMenu(e.pageX - 15, e.pageY - 15) } @@ -211,7 +210,6 @@ export class CollectionFreeFormDocumentView extends DocumentView { // DocumentViews should stop propogation of this event e.stopPropagation(); - ContextMenu.Instance.clearItems(); ContextMenu.Instance.addItem({ description: "Full Screen", event: this.fullScreenClicked }) ContextMenu.Instance.addItem({ description: "Open Right", event: this.openRight }) ContextMenu.Instance.addItem({ description: "Delete", event: this.deleteClicked }) |