fix: Less dragging is now required

This commit is contained in:
PapaTutuWawa 2023-07-16 17:46:38 +02:00
parent a01e8602e5
commit 7b1ad49e4d

View File

@ -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!();
}