We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b7148 commit b203a25Copy full SHA for b203a25
src/plots/ternary/ternary.js
@@ -101,11 +101,7 @@ proto.makeFramework = function(fullLayout) {
101
proto.updateFx = function(dragmode) {
102
var toplevel = this.plotContainer.selectAll('g.toplevel');
103
104
- if(dragmode === 'pan') {
105
- toplevel.style('cursor', 'move');
106
- } else {
107
- toplevel.style('cursor', 'crosshair');
108
- }
+ toplevel.style('cursor', dragmode === 'pan' ? 'move' : 'crosshair');
109
};
110
111
proto.updateLayers = function(ternaryLayout) {
0 commit comments