Skip to content

Commit

Permalink
Merge pull request #1235 from OpenGeoscience/annotation-create-metakeys
Browse files Browse the repository at this point in the history
perf: Allow annotations to be created regardless of metakeys.
  • Loading branch information
manthey authored Jun 29, 2022
2 parents 8057c22 + 98062e7 commit e8aceeb
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 e8aceeb

Please sign in to comment.