mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-10 14:44:28 +02:00
git log now done, fixed up result rendering
This commit is contained in:
parent
543f5986ae
commit
9c7ec69e2f
10 changed files with 189 additions and 35 deletions
13
src/animationFactory.js
Normal file
13
src/animationFactory.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
/******************
|
||||
* This class is responsible for a lot of the heavy lifting around creating an animation at a certain state in time.
|
||||
* The tricky thing is that when a new commit has to be "born," say in the middle of a rebase or something, it must animate
|
||||
* out from the parent position to it's birth position.
|
||||
|
||||
* These two positions though may not be where the commit finally ends up. So we actually need to take a snapshot of the tree,
|
||||
* store all those positions, take a snapshot of the tree after a layout refresh afterwards, and then animate between those two spots.
|
||||
* and then essentially animate the entire tree too.
|
||||
|
||||
* not sure if this is necessary yet, so ill hold off for now. lets do some refs
|
||||
|
||||
*/
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue