diff --git a/CHANGELOG.md b/CHANGELOG.md index bc88b8e..6461881 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 5.4.0 + +- Add a new `border` settings to show a border around the board. +- Fixed a timer not properly canceled when the board is disposed. + ## 5.3.0 - Added a new `StaticChessboard` widget that is optimized for scrollable diff --git a/lib/src/widgets/board.dart b/lib/src/widgets/board.dart index 5a1798c..46fc130 100644 --- a/lib/src/widgets/board.dart +++ b/lib/src/widgets/board.dart @@ -448,6 +448,7 @@ class _BoardState extends State { void dispose() { super.dispose(); _dragAvatar?.cancel(); + _cancelShapesDoubleTapTimer?.cancel(); } @override