yarolegovich / DiscreteScrollView

A scrollable list of items that centers the current element and provides easy-to-use APIs for cool item animations.
5.78k stars 782 forks source link

ScaleTransformer not transforming uniformly #194

Closed arpanbag001 closed 4 years ago

arpanbag001 commented 4 years ago

While using ScaleTransformer maxScale or minScale, the on screen non-current items are not getting transformed uniformly! The left (prev) item to the current item always becomes slightly larger (few dp) than all the other non-current items. In the sample app, the difference is 1dp, but in my setup (item size: 44dp, setMaxScale: 1.5f ), the difference is around 7dp, which is very much noticeable.

yarolegovich commented 4 years ago

Fixed in v1.5.1