Skip to content

Commit f0ee861

Browse files
committed
Update animation
1 parent 702a397 commit f0ee861

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

TapCardView/TapCardView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ open class TapCardView: UIView {
8686
let radius: Float = (type == .left) ? flipDegree : -flipDegree
8787
let duration = flipDuration
8888

89-
UIView.animateKeyframes(withDuration: duration, delay: 0, options: [], animations: {
89+
UIView.animateKeyframes(withDuration: duration, delay: 0, options: [.allowUserInteraction], animations: {
9090
var transform = CATransform3DIdentity
9191
transform.m34 = 1/1000
9292
UIView.addKeyframe(withRelativeStartTime: 0, relativeDuration: duration/2, animations: {

0 commit comments

Comments
 (0)