This repository was archived by the owner on Nov 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
showcaseviewlib/src/main/java/smartdevelop/ir/eram/showcaseviewlib Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -125,16 +125,16 @@ protected void onDraw(Canvas canvas) {
125125 marginGuide = (int ) (isTop ? 15 * density : -15 * density );
126126
127127 float startYLineAndCircle = (isTop ? rect .bottom : rect .top ) + marginGuide ;
128- float xLine = ( rect . left / 2 + rect . right / 2 );
129- float cx = (target . getLeft () / 2 + target . getRight () / 2 );
128+
129+ float x = (rect . left / 2 + rect . right / 2 );
130130 float stopY = (y + INDICATOR_HEIGHT * density );
131131
132- tempCanvas .drawLine (xLine , startYLineAndCircle , xLine ,
132+ tempCanvas .drawLine (x , startYLineAndCircle , x ,
133133 stopY
134134 , paintLine );
135135
136- tempCanvas .drawCircle (cx , startYLineAndCircle , circleSize , paintCircle );
137- tempCanvas .drawCircle (cx , startYLineAndCircle , circleInnerSize , paintCircleInner );
136+ tempCanvas .drawCircle (x , startYLineAndCircle , circleSize , paintCircle );
137+ tempCanvas .drawCircle (x , startYLineAndCircle , circleInnerSize , paintCircleInner );
138138
139139
140140 targetPaint .setXfermode (XFERMODE_CLEAR );
You can’t perform that action at this time.
0 commit comments