You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of 380 I used self.view.frame.size.width and then it works on iPad as well as iphones and doesn't necessarily use 380 on older devices which are only 320. I'd make a new branch and ask for a PR but honestly this is a very small change and you might not want to do it. But it was just a suggestion!
The text was updated successfully, but these errors were encountered:
Hey, just tried using it in my app and made a small change to:
https://github.com/OrRon/ConfettiView/blob/master/ConfettiView/Classes/ConfettiLayer.swift#L128
Instead of
380
I usedself.view.frame.size.width
and then it works on iPad as well as iphones and doesn't necessarily use 380 on older devices which are only 320. I'd make a new branch and ask for a PR but honestly this is a very small change and you might not want to do it. But it was just a suggestion!The text was updated successfully, but these errors were encountered: