DanielMartinus / Konfetti

Celebrate more with this lightweight confetti particle system 🎊
ISC License
3.13k stars 299 forks source link

Angle, Spread, Position classes are unstable #317

Open Nek-12 opened 9 months ago

Nek-12 commented 9 months ago

Angle, Spread, Position classes are unstable because they are a class family that Compose does not recognize as immutable.

Solution:

  1. Make Spread, Angle objects instead of classes
  2. Mark Position as @Immutable and migrate to sealed interface
  3. Mark Party as @Immutable to prevent future issues with modularization