Skip to content

Commit 30f1b5d

Browse files
committed
Merge pull request #3 from obi-mareo/patch-1
Allow simultaneous gesture
2 parents 77d5bb4 + 3ef8fc9 commit 30f1b5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/CardStack/CardView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct CardView<Direction, Content: View>: View {
2626
self.content(self.swipeDirection(geometry))
2727
.offset(self.translation)
2828
.rotationEffect(self.rotation(geometry))
29-
.gesture(self.isOnTop ? self.dragGesture(geometry) : nil)
29+
.simultaneousGesture(self.isOnTop ? self.dragGesture(geometry) : nil)
3030
}
3131
.transition(transition)
3232
}

SwiftUICardStack.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'SwiftUICardStack'
3-
s.version = '0.0.4'
3+
s.version = '0.0.5'
44
s.summary = 'A easy-to-use SwiftUI view for Tinder like cards on iOS, macOS & watchOS.'
55

66
s.homepage = 'https://github.com/dadalar/SwiftUI-CardStackView'

0 commit comments

Comments
 (0)