Skip to content

Commit 41e3ba5

Browse files
committed
Activate persistent selection for ternary plots [1852]
- Ternary was the only base plot with inconsistent behavior in terms of holding the Shift key. It allowed to temporarily pan (zoom when in pan) in zoom, lasso and select drag modes.
1 parent e763964 commit 41e3ba5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/plots/ternary/ternary.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,6 @@ proto.initInteractions = function() {
464464
dragOptions.xaxes = [_this.xaxis];
465465
dragOptions.yaxes = [_this.yaxis];
466466
var dragModeNow = gd._fullLayout.dragmode;
467-
if(e.shiftKey) {
468-
if(dragModeNow === 'pan') dragModeNow = 'zoom';
469-
else dragModeNow = 'pan';
470-
}
471467

472468
if(dragModeNow === 'lasso') dragOptions.minDrag = 1;
473469
else dragOptions.minDrag = undefined;

0 commit comments

Comments
 (0)