summaryrefslogtreecommitdiff
path: root/src/client/view/graph_view.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-13 13:39:58 +0200
committerAlon Levy <alon@pobox.com>2015-04-13 13:39:58 +0200
commit348ac301c8c7f1619c2f715208c5a7e09e26c73c (patch)
tree08823b7f388caf75ca9a684b7bfcddbfd826bad3 /src/client/view/graph_view.js
parent9bc11fd7aae7659904ba02c4c9df80284fb893c2 (diff)
client: zen_mode: store/restore fixed on enter/leave, unfix on enter. fixes #486
Diffstat (limited to 'src/client/view/graph_view.js')
-rw-r--r--src/client/view/graph_view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 6bcc00e0..3cc0012b 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -1281,6 +1281,7 @@ function GraphView(spec) {
return;
}
zen_mode = value;
+ layout.nodes_links(nodes__visible(), links__visible());
layout.zen_mode(value);
update_view(true);
}