🚧 Retoque
This commit is contained in:
parent
4ae6580357
commit
b2a7c71c1f
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue