10000 Enable multiple selection for box/lasso tool by dy · Pull Request #1853 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Enable multiple selection for box/lasso tool #1853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Switch lasso-drag to ctrl
  • Loading branch information
dy committed Jun 26, 2017
commit 842adabc00b72a526dff226ebf38af65d6486b7f
2 changes: 1 addition & 1 deletion src/plots/cartesian/dragbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
if(isMainDrag) {
// main dragger handles all drag modes, and changes
// to pan (or to zoom if it already is pan) on shift
if(e.shiftKey) {
if(e.ctrlKey) {
if(dragModeNow === 'pan') dragModeNow = 'zoom';
else dragModeNow = 'pan';
}
Expand Down
0