Open KlemensStrasser opened 10 months ago
That's probably a first 🫶🏻 Does it flicker with fewer confettis too?
@simibac Sorry for the super super late reply, I haven't seen yours and just skipped confetti for visionOS - which is a total shame, everyone deserves their share of confetti!
Yes, it flickered with fewer confettis too on visionOS 1.0.
But the behaviour has changed with visionOS 1.1. Now my particles are not circles anymore, they are half circles. 🫣 And instead of the particles flickering, the text underneath the particles now starts to flicker. Tried to play around with `zIndex´, but that didn't result in anything.
https://github.com/simibac/ConfettiSwiftUI/assets/7067879/beb251a4-7378-48e7-a040-e9faf87c0d63
Note that I do not have a physical device to see if this is just a problem in the simulator or also on real hardware. 🫣
Hi!
Using ConfettigSwiftUI on iOS and love it there. But while porting the app on visionOS, I noticed that the confettis started to flicker
Tried changing the background, in case this has something to do with the
Material
, and also tried setting the.offset(z:)
, but nothing helped yet.Any idea what could cause this?
https://github.com/simibac/ConfettiSwiftUI/assets/7067879/413b9363-e6c4-41ed-ad2d-9960f3538dff
This is my code for the confettis:
.confettiCannon( counter: $confettiCounter, num: 200, confettis: [ .shape(.circle) ], colors: confettiColors, openingAngle: Angle(degrees: 0), closingAngle: Angle(degrees: 360), radius: 200 )
Thanks!