Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
allow shiftkey to activate "additive mode" in the even of onClickRegion
Describe the bug
Function for selecting a range of regions (Select first, then Shift+click on last) is not working, as per the docs description in Labelling Guide > Select multiple regions
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All regions in the range between first and last (inclusive) are selected
Screenshots
If applicable, add screenshots to help explain your problem.
N/A
Environment (please complete the following information):
Additional context
Haven't tested this fix, but noticed shiftKey was not included to activate additive mode, like Ctrl or Meta key are.
Issue reported last year, 6080