Skip to content
This repository was archived by the owner on Apr 24, 2018. It is now read-only.

Commit d0c7e44

Browse files
committed
Merge pull request #185 from Norkart/storeShotOnTouch
Store shot state on touch hide
2 parents bc9664d + a1d9678 commit d0c7e44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/src/main/java/com/github/amlcurran/showcaseview/ShowcaseView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ public boolean onTouch(View view, MotionEvent motionEvent) {
313313

314314
if (MotionEvent.ACTION_UP == motionEvent.getAction() &&
315315
hideOnTouch && distanceFromFocus > showcaseDrawer.getBlockedRadius()) {
316+
shotStateStore.storeShot();
316317
this.hide();
317318
return true;
318319
}

0 commit comments

Comments
 (0)