andreamazz / BubbleTransition

A custom modal transition that presents and dismiss a controller with an expanding bubble effect.
MIT License
3.32k stars 250 forks source link

Fixed: bubble is displayed in other custom transition animation. #36

Closed ty0x2333 closed 7 years ago

ty0x2333 commented 7 years ago

Fixed: bubble is displayed in other custom transition animation.

e.g.

let transition = CATransition()
transition.duration = 0.3
transition.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut)
transition.type = kCATransitionPush
transition.subtype = kCATransitionFromLeft
view.window?.layer.add(transition, forKey: nil)
dismiss(animated: false, completion: nil)
andreamazz commented 7 years ago

Hey @luckytianyiyan Thank you for this PR 👍

andreamazz commented 7 years ago

Released version 2.0.2