summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/view/graph_view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 044e168b..12aeba48 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -212,7 +212,7 @@ function GraphView(spec) {
}
}
- var selection_outer_radius = 200;
+ var selection_outer_radius = 0; //200;
// HACK to load positions stored locally: on the first diff, which is the result of the
// initial clone, load positions from stored last settled position (see record_position_to_local_storage
// and restore_position_from_local_storage)
@@ -274,7 +274,7 @@ function GraphView(spec) {
resumeLayout();
}
// on every selection change that isn't null set the selected nodes to fixed
- if (!temporary) {
+ if (selection_outer_radius > 0 && !temporary) {
Bacon.update(
[{root_nodes: [], nodes: []}, gv.bubble_radius],
[selection.selectionChangedBus], function (data, new_selection) { return [new_selection, data[1]]; },