Commit 8bcd8aa6 authored by Mikaël Salson's avatar Mikaël Salson

scatterPlot.js: comment

parent bdd9c9e4
...@@ -1648,6 +1648,7 @@ ScatterPlot.prototype = { ...@@ -1648,6 +1648,7 @@ ScatterPlot.prototype = {
.remove(); .remove();
leg.on("click", function(d){ leg.on("click", function(d){
if (self.mode !="bar"){ if (self.mode !="bar"){
// Multi-selection by clicking on a legend
if (!d3.event.ctrlKey) if (!d3.event.ctrlKey)
self.m.unselectAll() self.m.unselectAll()
var listToSelect = []; var listToSelect = [];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment