mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Fixing paged view overscroll effect being drawn outside the screen
bounds when in transposed layout. Change-Id: I93be6a003b7d28708697990cfae8c7be96f84676
This commit is contained in:
@@ -1173,8 +1173,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
if (!mEdgeGlowRight.isFinished()) {
|
||||
final int restoreCount = canvas.save();
|
||||
Rect display = mViewport;
|
||||
canvas.translate(display.left +
|
||||
display.width() * (getChildCount() - 1), display.top);
|
||||
canvas.translate(display.left + mPageScrolls[getChildCount() - 1], display.top);
|
||||
canvas.rotate(90);
|
||||
|
||||
getEdgeVerticalPostion(sTmpIntPoint);
|
||||
|
||||
Reference in New Issue
Block a user