Skip to content

Commit

Permalink
Fix a regression of the interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
scenee committed Feb 21, 2019
1 parent aad56ab commit c39cc9d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Framework/Sources/FloatingPanel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,9 @@ class FloatingPanel: NSObject, UIGestureRecognizerDelegate, UIScrollViewDelegate
}

if let animator = self.animator {
if animator.isInterruptible == false {
return
if animator.isInterruptible {
animator.stopAnimation(true)
}
animator.stopAnimation(true)
self.animator = nil
}

Expand Down

0 comments on commit c39cc9d

Please sign in to comment.