🚧 Retoque

This commit is contained in:
Manuel Cillero 2023-06-11 04:10:34 +02:00
parent 4ae6580357
commit b2a7c71c1f

View file

@ -44,8 +44,7 @@ impl ComponentsBundle {
// ComponentsBundle BUILDER.
pub fn add(&mut self, component: impl ComponentTrait) -> &mut Self {
self.0.push(Arc::new(RwLock::new(component)));
self
self.alter_bundle(BundleOp::Add, component)
}
pub fn alter_bundle(&mut self, op: BundleOp, component: impl ComponentTrait) -> &mut Self {