lgvalle/Material-Animations

Swapped code examples

dpirpiris opened this issue · 0 comments

For the "Circular Reveal from the middle of target view" and "Circular Reveal from top of target view + animations" examples towards the bottom of the guide, it looks like someone accidentally swapped the lines for calculating the int "cy" variable.

"Circular Reveal from the middle of target view" -> int cy = viewRoot.getTop();

"Circular Reveal from top of target view + animations" -> int cy = (viewRoot.getTop() + viewRoot.getBottom()) / 2;