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
This worked in 1.x, but does not with 2.x. The confetti is marking whether it should be drawn based off of whether its location is inside the draw area:
For confetti that is slightly off screen, this evaluates to false, so the confetti does not draw until it is entirely in frame, which maintains the sudden appearance that I'm trying to avoid.
I assume the fix here is to incorporate width into the bounds check, but wanted to open this issue before attempting to fix myself.
The text was updated successfully, but these errors were encountered:
For a more natural rain effect where the confetti do not suddenly appear in frame, I move the position slightly outside of the view bounds:
This worked in 1.x, but does not with 2.x. The confetti is marking whether it should be drawn based off of whether its location is inside the draw area:
Konfetti/konfetti/core/src/main/java/nl/dionsegijn/konfetti/core/emitter/Confetti.kt
Line 135 in 1a1373f
For confetti that is slightly off screen, this evaluates to false, so the confetti does not draw until it is entirely in frame, which maintains the sudden appearance that I'm trying to avoid.
I assume the fix here is to incorporate
width
into the bounds check, but wanted to open this issue before attempting to fix myself.The text was updated successfully, but these errors were encountered: