Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
fix: clear movement after swipe
Browse files Browse the repository at this point in the history
  • Loading branch information
OlliePugh committed Mar 12, 2024
1 parent 0fa20ce commit 5e90c81
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,8 @@ class PlayerDragMovingBehavior extends Behavior<Player> {
_playerMovingBehavior.move(Direction.left);
}
}

_startPosition = Offset.zero;
_lastPosition = Offset.zero;
}
}

0 comments on commit 5e90c81

Please sign in to comment.