Skip to content

Commit

Permalink
Fix drawing of start line
Browse files Browse the repository at this point in the history
  • Loading branch information
pyricau committed Jul 20, 2018
1 parent 5073a1b commit 9d55bc2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ public DisplayLeakConnectorView(Context context, AttributeSet attrs) {
private void drawStartLine(Canvas cacheCanvas) {
int width = getMeasuredWidth();
float halfWidth = width / 2f;
float halfHeight = getMeasuredHeight() / 2f;
cacheCanvas.drawLine(halfWidth, 0, halfWidth, halfHeight, classNamePaint);
cacheCanvas.drawLine(halfWidth, 0, halfWidth, circleY, classNamePaint);
}

private void drawRoot(Canvas cacheCanvas) {
Expand Down

0 comments on commit 9d55bc2

Please sign in to comment.