You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to support animated transitions on changed properties.
The main idea is as follows: when property is changed in UpdateIncremental we should check if any transitions is attached to this property. If transition is attached to the property then we should invoke transition callback instead of modifying property value directly.
I still don't know exactly how to incorporate animations in Fabulous. The issue with having functions inside the widgets is that we need to evaluate them all the time because we can't compare functions like we compare values.
This would require a mechanism to synchronize animations to avoid restarting an animation on each update.
It would be great to support animated transitions on changed properties.
The main idea is as follows: when property is changed in
UpdateIncremental
we should check if any transitions is attached to this property. If transition is attached to the property then we should invoke transition callback instead of modifying property value directly.Take a look at small example:
The text was updated successfully, but these errors were encountered: