]> source.dussan.org Git - svg.js.git/commit
Refactored the getOrigin helper to help fix the relative affine animations
authorSaivan <savian@me.com>
Mon, 17 Sep 2018 04:50:56 +0000 (14:50 +1000)
committerSaivan <savian@me.com>
Mon, 17 Sep 2018 04:50:56 +0000 (14:50 +1000)
commita8373f5ee8902089d5ab3a915eb5a31b568d3728
tree87607ae35c7f2b11da55fd8b69c3e800d5cfefbe
parent791bb2bab91a022d1b5265b40faa997ad9938ad7
Refactored the getOrigin helper to help fix the relative affine animations

This commit refactors the getOrigin helper, in order to send the origin to the correct
space. The origin should be expressed in the space of the last animation.

Changes
=======
- Refactored the getOrigin helper
- Added a simple example to the dirty file to test multiple transformations
dirty.html
src/helpers.js
src/runner.js