aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2019-04-11 08:57:23 -0400
committerbobzel <zzzman@gmail.com>2019-04-11 08:57:23 -0400
commit354d65953cc6e29386b465ab2a12e85b443aad56 (patch)
tree2261c2ee05a053117b61db4fe9af53915af19e1c
parentcbe23091b72c472be3e9a6de1cac5325171c282f (diff)
fixed schema view context menu
-rw-r--r--src/client/views/collections/CollectionSchemaView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index c67f8cd97..f1b3e1b8f 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -254,7 +254,7 @@ export class CollectionSchemaView extends CollectionSubView {
focusDocument = (doc: Document) => { };
onPointerDown = (e: React.PointerEvent): void => {
- if (this.props.isSelected()) {
+ if (e.button === 1 && this.props.isSelected() && !e.altKey && !e.ctrlKey && !e.metaKey) {
e.stopPropagation();
}
}