afonsolage / bevy_ecss

Bevy crate which uses a subset of CSS to update Bevy ECS components
Apache License 2.0
98 stars 11 forks source link

Added Class Component Modification #48

Closed TheDudeFromCI closed 7 months ago

TheDudeFromCI commented 7 months ago

I added the ability to add and remove individual class names to a Class component after creation. This should make it easier to add dynamic, code-reactive elements to a menu. (I.e, disabling one button if another checkbox is ticked.)

TheDudeFromCI commented 7 months ago

@afonsolage Done.