Skip to content

Commit

Permalink
Merge pull request #2 from rayfix/patch-1
Browse files Browse the repository at this point in the history
Drag Me and Long Press were interchanged.
  • Loading branch information
Sadmansamee authored Jun 11, 2019
2 parents f0f5799 + 377476c commit d3f1349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,15 +308,15 @@ Text("Tap")
}
)

Text("Long Press")
Text("Drag Me")
.gesture(
DragGesture(minimumDistance: 50)
.onEnded { _ in

}
)

Text("Drag Me")
Text("Long Press")
.gesture(
LongPressGesture(minimumDuration: 2)
.onEnded { _ in
Expand Down

0 comments on commit d3f1349

Please sign in to comment.