androidx / constraintlayout

ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
Apache License 2.0
1.07k stars 176 forks source link

[ComposeMotion] Fix custom properties #640

Closed oscar-ad closed 2 years ago

oscar-ad commented 2 years ago

Custom properties would return values that didn't correspond to the layout, since they were effectively being calculated with a progress value form a different measure pass.

This makes it so that custom properties are always calculated with the current progress value used to measure the layout in the current composition.