seachel / treehehe

An interactive visualization of proof tree representations of mathematical proofs using D3 and MathJax.
0 stars 0 forks source link

Scroll snap main tree view #6

Closed seachel closed 5 years ago

seachel commented 5 years ago

Initially we want the main tree view panel to automatically scroll to be centred. This may be changed once we see what a large tree actually looks like in the page.

seachel commented 5 years ago

Centering the scroll instead of scroll snapping, which is a different thing. The maximum scroll amount is the difference between the child and parent, so half-way is half their difference.