From 30707a57ab89c8575bec985c8400ff0f990bce92 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 15 Feb 2015 19:59:35 +0200 Subject: client: make shift+click be selection augmentation for better pc/mac compatibility, instead of ctrl+click --- src/client/view/graph_view.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 1c4f6334..3d39c03f 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -277,7 +277,7 @@ function GraphView(spec) { graph.links_rm([that.link]); }); view.edge_info.show(d); - selection.update([src, dst], d3.event.ctrlKey); + selection.update([src, dst], d3.event.shiftKey); }); link.attr("class", function(d, i){ @@ -410,7 +410,7 @@ function GraphView(spec) { } if (!temporary) { svgInput.enable(this, d, nodeTextX(d)); - selection.update([d], d3.event.ctrlKey); + selection.update([d], d3.event.shiftKey); showNodeInfo(graph.find_node__by_id(this.parentNode.id)); } d3.event.stopPropagation(); @@ -473,7 +473,7 @@ function GraphView(spec) { return; } d3.event.stopPropagation(); - selection.update([d], d3.event.ctrlKey); + selection.update([d], d3.event.shiftKey); if(!temporary) { showNodeInfo(d); } -- cgit v1.3.1