summaryrefslogtreecommitdiff
path: root/src/client-tests/test_app.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-05-03 19:34:55 +0300
committerAlon Levy <alon@pobox.com>2015-05-03 19:38:27 +0300
commitad3887f785ada0c389ee3d29b49f17dcef16f28a (patch)
tree88a90809fa0c42530f1804f25672cd459182782b /src/client-tests/test_app.js
parentcf5d50bd942a07e27275e42fb3db74e1dc8aea59 (diff)
client/graph_view: zen_mode zooming and layouting change
on zen mode entry: - start layout - automatic centering mode: every tick adjust the scale and translation to fit the visible nodes if user drags or wheels out cancel automatic centering mode (layout keeps updating regardless) implementation details: additional state 'zen_mode__auto_center' and additional handlers for wheel and mousedown. Better to have a single flow in the future: {mouse wheel event, mouse down event) -> update zen_mode__auto_center (or have implicit state via bacon) -> d3 zoom behavior
Diffstat (limited to 'src/client-tests/test_app.js')
0 files changed, 0 insertions, 0 deletions