aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-02-20 19:59:44 -0500
committerBob Zeleznik <zzzman@gmail.com>2019-02-20 19:59:44 -0500
commit2ec7f43648e5360bb3adb92443d7055abd269346 (patch)
tree91fc1609e104a7deafe6d9c0f1ed00b6a618d32e /src
parentd97eeaf6a2060a883f8d9abf892ff6421e81ae6c (diff)
fixed so that context menus work on a mac
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 20875586d..7cf00a116 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -128,7 +128,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
e.stopPropagation();
return;
}
- this._contextMenuCanOpen = e.button == 2;
+ this._contextMenuCanOpen = true;
if (this.active && !e.isDefaultPrevented()) {
e.stopPropagation();
if (e.buttons === 2) {