mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-21 21:35:03 +00:00
Increase horizontal from 60dp to 72dp
This commit is contained in:
parent
76273393ce
commit
668adc313e
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue