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

Commit

Permalink
Merge branch 'dev' of github.com:mreram/ShowCaseView
Browse files Browse the repository at this point in the history
  • Loading branch information
mreram committed Aug 16, 2022
2 parents 1dcdae4 + f9af6d6 commit 2262c84
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,6 @@ private GuideView(Context context, View view) {
density = context.getResources().getDisplayMetrics().density;
init();

if (view instanceof Targetable) {
targetRect = ((Targetable) view).boundingRect();
} else {
int[] locationTarget = new int[2];
target.getLocationOnScreen(locationTarget);
targetRect = new RectF(
locationTarget[0],
locationTarget[1],
locationTarget[0] + target.getWidth(),
locationTarget[1] + target.getHeight()
);
}

mMessageView = new GuideMessageView(getContext());
mMessageView.setPadding(
messageViewPadding,
Expand Down

0 comments on commit 2262c84

Please sign in to comment.