Skip to content

Commit 89a0425

Browse files
committed
Fix animateTo completion for some animations
1 parent 28e8d90 commit 89a0425

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Spring/Spring.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public class Spring : NSObject {
103103
private var alpha: CGFloat { get { return view.alpha } set { view.alpha = newValue } }
104104

105105
func animatePreset() {
106+
alpha = 0.99
106107
if animation == "" {
107108
return
108109
}

0 commit comments

Comments
 (0)