Skip to content

Commit 6cc634a

Browse files
committed
🐄 in various new splom code & comment
1 parent 31836f2 commit 6cc634a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/plots/cartesian/select.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ function prepSelect(e, startX, startY, dragOptions, mode) {
6969
dragOptions.mergedPolygons = plotinfo.selection.mergedPolygons;
7070
} else if(
7171
(!e.shiftKey && !e.altKey) ||
72-
((e.shiftKey || e.altKey) &&
73-
!plotinfo.selection)
72+
((e.shiftKey || e.altKey) && !plotinfo.selection)
7473
) {
7574
// create new polygons, if shift mode or selecting across different subplots
7675
plotinfo.selection = {};

src/traces/scatter/subtypes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
hasMarkers: function(trace) {
2121
return trace.visible && (
2222
(trace.mode && trace.mode.indexOf('markers') !== -1) ||
23-
// until splom implement 'mode'
23+
// until splom implements 'mode'
2424
trace.type === 'splom'
2525
);
2626
},

src/traces/splom/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ function style(gd, cds) {
431431
}
432432

433433
// redraw all subplot with scattergl traces,
434-
// all we cleared the whole canvas above
434+
// as we cleared the whole canvas above
435435
if(fullLayout._has('cartesian')) {
436436
for(var k in fullLayout._plots) {
437437
var sp = fullLayout._plots[k];

0 commit comments

Comments
 (0)