Fix clipping not being activated on children in groups

Some views were not getting the call to reactivate clipping
this is because only the when the view was made visible
was it reset, views made invisible would be missed.

Fixes: 27364129
Change-Id: Ie6944569f432cd657f7f741c95c4067b346ea98b
This commit is contained in:
Mady Mellor
2016-05-23 16:10:38 -07:00
parent 31e49b0964
commit f229d406d0

View File

@@ -463,9 +463,7 @@ public class TransformState {
mTransformedView.animate().cancel();
mTransformedView.setVisibility(visible ? View.VISIBLE : View.INVISIBLE);
mTransformedView.setAlpha(visible ? 1.0f : 0.0f);
if (visible) {
resetTransformedView();
}
resetTransformedView();
}
public void prepareFadeIn() {