diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dcc6b2c..6a001b99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.4.4 + +### Change +- change compass widget tap to reset animation duration to 300ms + + ## 1.4.3 ### Add (New Features) diff --git a/lib/src/widget/elements/compass_widget.dart b/lib/src/widget/elements/compass_widget.dart index 57c50a9b..349f2c33 100644 --- a/lib/src/widget/elements/compass_widget.dart +++ b/lib/src/widget/elements/compass_widget.dart @@ -96,7 +96,7 @@ class _NCompassWidgetState extends State { if (currentBearing == null || currentBearing == 0) return; widget.naverMapController?.updateCamera(NCameraUpdate.withParams(bearing: 0) - ..setAnimation(duration: Duration.zero) + ..setAnimation(duration: const Duration(milliseconds: 300)) ..setReason(NCameraUpdateReason.control)); } } diff --git a/pubspec.yaml b/pubspec.yaml index f8da822f..c9a88179 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_naver_map description: Naver Map plugin for Flutter, which provides map service of Korea. -version: 1.4.3 +version: 1.4.4 homepage: https://github.com/note11g/flutter_naver_map documentation: https://note11.dev/flutter_naver_map