Merge "Fix yet another clipTopAmount usage" into tm-dev
This commit is contained in:
@@ -1668,7 +1668,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
float childTop = slidingChild.getTranslationY();
|
float childTop = slidingChild.getTranslationY();
|
||||||
float top = childTop + slidingChild.getClipTopAmount();
|
float top = childTop + Math.max(0, slidingChild.getClipTopAmount());
|
||||||
float bottom = childTop + slidingChild.getActualHeight()
|
float bottom = childTop + slidingChild.getActualHeight()
|
||||||
- slidingChild.getClipBottomAmount();
|
- slidingChild.getClipBottomAmount();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user