muigui 0.0.21 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- /* muigui@0.0.21, license MIT */
1
+ /* muigui@0.0.22, license MIT */
2
2
  var css = {
3
3
  default: `
4
4
  .muigui {
@@ -2750,6 +2750,10 @@ class Container extends Controller {
2750
2750
  const elem = c0.domElement;
2751
2751
  elem.remove();
2752
2752
  c0.setParent(null);
2753
+ } else {
2754
+ this.#controllers.forEach(c => {
2755
+ c.remove(controller);
2756
+ });
2753
2757
  }
2754
2758
  return this;
2755
2759
  }