Closed sheepbox8646 closed 5 months ago
BUG LOCATED: The unit system just added, who set elapsed
wrongly in app.ts:121
, caused this issue. I'll consider replace the unit system with a new one.
Feature Request:
/// move.ts
export const move = changeProperty(['x', 'y'])
/// myOwnAnim.ts
// `override` method aims to override the `defaultFrom`, `defaultTo` and `by`
// which is already determined in original declaration
widget.animate(move.override({ to: [1000, 500] }))
okay
In most of case, you can use
changeProperty
API to custom your attributes animation, but in recent using, i find many bug and unexpected points.Bugs
If you use
move
animation and only provide a parameterto
(like following codes, and the origin ofmove
are alsochangeProperty
without from and to), the animation will be loaded no longer correct, the time will get into wrong.Features
Usage
Usage On Widget
And if
changeProperty
support likestyle.xxx
grammar,changeStyle
is no longer needed.Who can implement this issue? Please comment under this issue and I'll assign to you to finish this work.