Skip to content

Commit

Permalink
Fix click listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
natario1 committed Dec 12, 2018
1 parent 33886e4 commit 614a5a2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ public void setImageDrawable(@Nullable Drawable drawable) {
@SuppressLint("ClickableViewAccessibility")
@Override
public boolean onTouchEvent(MotionEvent ev) {
return mEngine.onTouchEvent(ev) || super.onTouchEvent(ev);
// Using | so click listeners work.
return mEngine.onTouchEvent(ev) | super.onTouchEvent(ev);
}

@Override
Expand Down

0 comments on commit 614a5a2

Please sign in to comment.