From 98062e767d1a960b3d979bc044f5a16c1c5a93b9 Mon Sep 17 00:00:00 2001 From: David Manthey Date: Wed, 29 Jun 2022 14:53:43 -0400 Subject: [PATCH] perf: Allow annotations to be created regardless of metakeys. --- src/annotation/annotation.js | 3 +-- src/annotation/rectangleAnnotation.js | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/annotation/annotation.js b/src/annotation/annotation.js index df0c3083d9..28f30d6f1e 100644 --- a/src/annotation/annotation.js +++ b/src/annotation/annotation.js @@ -1271,8 +1271,7 @@ function continuousVerticesActions(m_this, s_actions, state, name, originalArgs) action: geo_action['annotation_' + name], name: name + ' create', owner: annotationActionOwner, - input: 'left', - modifiers: {shift: false, ctrl: false} + input: 'left' }, { action: geo_action['annotation_' + name], name: name + ' create', diff --git a/src/annotation/rectangleAnnotation.js b/src/annotation/rectangleAnnotation.js index a6f89238db..fb3b50385d 100644 --- a/src/annotation/rectangleAnnotation.js +++ b/src/annotation/rectangleAnnotation.js @@ -75,7 +75,6 @@ var rectangleAnnotation = function (args, annotationName) { name: 'rectangle create', owner: annotationActionOwner, input: 'left', - modifiers: {shift: false, ctrl: false}, selectionRectangle: true, selectionConstraint: this._selectionConstraint }];