Closed DrRey closed 6 years ago
thanks, I wanted to implement it :)
do you think this could fix animations ?
It did in my case. I was doing a FragmentTransaction with ShapeOfView as the shared element, and this is the only way I could make it work. Probably has a performance impact, but it wasn't noticable for me.
вт, 22 мая 2018 г., 18:24 Florent CHAMPIGNY notifications@github.com:
thanks, I wanted to implement it :)
do you think this could fix animations ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/florent37/ShapeOfView/pull/15#issuecomment-391032728, or mute the thread https://github.com/notifications/unsubscribe-auth/AHF6xpRRgYsQEYNZ6pjHh3gXt9abvM7Yks5t1C2bgaJpZM4UI0xF .
When animating the view bounds (i.e. for shared transition) we need to update the mask as the bounds are changing.