Skip to content

Commit

Permalink
Fixes initialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
letsar committed Aug 3, 2021
1 parent 72ecb7b commit 7aa18b1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0-dev.9
### Fixed
* Fixes an issue where we click on the Slidable instead of dragging it (https://github.com/letsar/flutter_slidable/pull/235).

## 1.0.0-dev.8
### Fixed
* Fixes an issue where the Dismissible animation stopped in middle when the gesture was too fast.
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.0-dev.8"
version: "1.0.0-dev.9"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
1 change: 1 addition & 0 deletions lib/src/gesture_detector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class _SlidableGestureDetectorState extends State<SlidableGestureDetector> {

void handleDragStart(DragStartDetails details) {
startPosition = details.localPosition;
lastPosition = startPosition;
dragExtent = dragExtent.sign *
overallDragAxisExtent *
widget.controller.ratio *
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_slidable
description: A Flutter implementation of slidable list item with directional slide actions that can be dismissed.
version: 1.0.0-dev.8
version: 1.0.0-dev.9
homepage: https://github.com/letsar/flutter_slidable

environment:
Expand Down

0 comments on commit 7aa18b1

Please sign in to comment.