Skip to content

Commit

Permalink
add reset on long press
Browse files Browse the repository at this point in the history
  • Loading branch information
edeso committed Feb 1, 2023
1 parent dc72dcc commit 120d17a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/com/nkanaev/comics/view/NavBGImageView.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public boolean onDoubleTap(MotionEvent e) {
reset();
return true;
}
@Override
public void onLongPress(@NonNull MotionEvent e) {
reset();
}
});
setOnTouchListener(new OnTouchListener() {
@Override
Expand Down

0 comments on commit 120d17a

Please sign in to comment.