Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Commit 2262c84

Browse files
committed
Merge branch 'dev' of github.com:mreram/ShowCaseView
2 parents 1dcdae4 + f9af6d6 commit 2262c84

File tree

1 file changed

+0
-13
lines changed
  • showcaseviewlib/src/main/java/smartdevelop/ir/eram/showcaseviewlib

1 file changed

+0
-13
lines changed

showcaseviewlib/src/main/java/smartdevelop/ir/eram/showcaseviewlib/GuideView.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,6 @@ private GuideView(Context context, View view) {
9898
density = context.getResources().getDisplayMetrics().density;
9999
init();
100100

101-
if (view instanceof Targetable) {
102-
targetRect = ((Targetable) view).boundingRect();
103-
} else {
104-
int[] locationTarget = new int[2];
105-
target.getLocationOnScreen(locationTarget);
106-
targetRect = new RectF(
107-
locationTarget[0],
108-
locationTarget[1],
109-
locationTarget[0] + target.getWidth(),
110-
locationTarget[1] + target.getHeight()
111-
);
112-
}
113-
114101
mMessageView = new GuideMessageView(getContext());
115102
mMessageView.setPadding(
116103
messageViewPadding,

0 commit comments

Comments
 (0)