Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.06 KB

CHANGELOG.md

File metadata and controls

20 lines (17 loc) · 1.06 KB

1.2.2

  • bug fix : final value in Color, position and pointPosition animations should now always be accurate (hopefully no more floating-point errors)

1.2.1

  • TS rewrite : TS declaration is available in dist/src/animatePaper.d.ts
  • custom easings : you can now pass a function (p: number) => number to settings.easing
  • bug fix : negative absolute position supported (relative values must be of string type)
  • bug fix : allow 0 duration

1.1.1

  • Color support for paper.Group animation
  • rgb, gray, hsl, hbs Color formats are now supported
  • TypeScript declaration

1.0.1

  • paper is now a peerDependency, this should remove unnecessary code from your dependency tree.
  • The segmentGrow property and grow effect have been removed (this feature was very buggy).
  • When using rotate or scale properties, you can provide a new setting : center (or rotateCenter/scaleCenter) (default is item.position).
  • Animation supports a new option repeat (defaults to 0).
  • settings.complete callback takes the Animationobject as 1st argument.