fix: Less dragging is now required
This commit is contained in:
parent
a01e8602e5
commit
7b1ad49e4d
@ -39,9 +39,9 @@ class GridItemState extends State<GridItem> {
|
||||
onHorizontalDragEnd: (_) {
|
||||
if (!widget.enableDrag) return;
|
||||
|
||||
if (_translationX <= -60) {
|
||||
if (_translationX <= -40) {
|
||||
widget.plusCallback!();
|
||||
} else if (_translationX >= 60) {
|
||||
} else if (_translationX >= 40) {
|
||||
widget.minusCallback!();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user