diff options
| author | Alon Levy <alon@pobox.com> | 2015-03-31 18:11:03 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-02 00:33:37 +0300 |
| commit | fe2e19857439c9b55afe48065538829f25cf38fb (patch) | |
| tree | d2f2143547e7104824c72afc378d93049588ffbf /src/client/view/graph_view.js | |
| parent | 999d7b2b95151ef4883be012ebc29ba24925e112 (diff) | |
client/graph_view: turn off selection ring for now
Diffstat (limited to 'src/client/view/graph_view.js')
| -rw-r--r-- | src/client/view/graph_view.js | 4 |
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]]; }, |
