Skip to content

Commit

Permalink
perf: Allow annotations to be created regardless of metakeys.
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Jun 29, 2022
1 parent 52900ff commit 98062e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/annotation/annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion src/annotation/rectangleAnnotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}];
Expand Down

0 comments on commit 98062e7

Please sign in to comment.