diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-02-20 19:59:44 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-02-20 19:59:44 -0500 |
commit | 2ec7f43648e5360bb3adb92443d7055abd269346 (patch) | |
tree | 91fc1609e104a7deafe6d9c0f1ed00b6a618d32e | |
parent | d97eeaf6a2060a883f8d9abf892ff6421e81ae6c (diff) |
fixed so that context menus work on a mac
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
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) { |