diff --git a/forui/CHANGELOG.md b/forui/CHANGELOG.md index 42b37e676..514714241 100644 --- a/forui/CHANGELOG.md +++ b/forui/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.1 + +* Fix range slider not displaying tooltip for minimum thumb. + ## 0.6.0 ### Additions diff --git a/forui/example/pubspec.lock b/forui/example/pubspec.lock index f830e5563..0f313a01b 100644 --- a/forui/example/pubspec.lock +++ b/forui/example/pubspec.lock @@ -256,7 +256,7 @@ packages: path: ".." relative: true source: path - version: "0.6.0" + version: "0.6.1" forui_assets: dependency: transitive description: diff --git a/forui/lib/src/widgets/slider/thumb.dart b/forui/lib/src/widgets/slider/thumb.dart index 92c9aba71..feb170148 100644 --- a/forui/lib/src/widgets/slider/thumb.dart +++ b/forui/lib/src/widgets/slider/thumb.dart @@ -55,8 +55,6 @@ class _ThumbState extends State with SingleTickerProviderStateMixin { void didChangeDependencies() { super.didChangeDependencies(); _controller = InheritedController.of(context); - _controller.tooltips.remove(_key, _tooltip); - _key = widget.min ? FSliderTooltipsController.min : FSliderTooltipsController.max; _controller.tooltips.add(_key, _tooltip); } diff --git a/forui/pubspec.yaml b/forui/pubspec.yaml index f856ad4af..23739bc98 100644 --- a/forui/pubspec.yaml +++ b/forui/pubspec.yaml @@ -1,6 +1,6 @@ name: forui description: Forui is a UI library for Flutter that provides a set of minimalistic widgets heavily inspired by Shadcn/ui. -version: 0.6.0 +version: 0.6.1 homepage: https://forui.dev/ documentation: https://forui.dev/docs repository: https://github.com/forus-labs/forui/tree/main/forui