mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Fixing page indicator being drawn at wrong position
Bug: 29640885 Change-Id: I935e22174554447ddcb5e0a8eb6e2c78a3d5fdfb
This commit is contained in:
@@ -167,7 +167,7 @@ public class PageIndicatorLineCaret extends PageIndicator {
|
||||
int lineWidth = (int) (availableWidth / mNumPagesFloat);
|
||||
int lineLeft = (int) (progress * (availableWidth - lineWidth));
|
||||
int lineRight = lineLeft + lineWidth;
|
||||
canvas.drawRect(lineLeft, canvas.getHeight() + mLineHeight, lineRight, canvas.getHeight(),
|
||||
canvas.drawRect(lineLeft, canvas.getHeight() - mLineHeight, lineRight, canvas.getHeight(),
|
||||
mLinePaint);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user