Increase horizontal from 60dp to 72dp

This commit is contained in:
Mike-Antonacci 2020-11-27 17:24:41 -07:00
parent 76273393ce
commit 668adc313e

View file

@ -228,10 +228,10 @@ abstract class BaseTaskViewHolder constructor(itemView: View, var scoreTaskFunc:
if (motionEvent != null) {
if (motionEvent.action != MotionEvent.ACTION_UP) return true
if (motionEvent.y <= mainTaskWrapper.height + 5.dpToPx(context)) {
if (motionEvent.x <= 60.dpToPx(context)) {
if (motionEvent.x <= 72.dpToPx(context)) {
onLeftActionTouched()
return true
} else if ((itemView.width - motionEvent.x <= 60.dpToPx(context))) {
} else if ((itemView.width - motionEvent.x <= 72.dpToPx(context))) {
onRightActionTouched()
return true
}