mol_plot_all 1.2.516 → 1.2.517

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.
@@ -1881,8 +1881,9 @@ var $;
1881
1881
  return fiber;
1882
1882
  }
1883
1883
  static watching = new Set();
1884
+ static watcher = null;
1884
1885
  static watch() {
1885
- new $mol_after_frame($mol_wire_atom.watch);
1886
+ $mol_wire_atom.watcher = new $mol_after_frame($mol_wire_atom.watch);
1886
1887
  for (const atom of $mol_wire_atom.watching) {
1887
1888
  if (atom.cursor === $mol_wire_cursor.final) {
1888
1889
  $mol_wire_atom.watching.delete(atom);
@@ -1894,6 +1895,9 @@ var $;
1894
1895
  }
1895
1896
  }
1896
1897
  watch() {
1898
+ if (!$mol_wire_atom.watcher) {
1899
+ $mol_wire_atom.watcher = new $mol_after_frame($mol_wire_atom.watch);
1900
+ }
1897
1901
  $mol_wire_atom.watching.add(this);
1898
1902
  }
1899
1903
  resync(args) {
@@ -1970,7 +1974,6 @@ var $;
1970
1974
  $mol_wire_method
1971
1975
  ], $mol_wire_atom.prototype, "once", null);
1972
1976
  $.$mol_wire_atom = $mol_wire_atom;
1973
- $mol_wire_atom.watch();
1974
1977
  })($ || ($ = {}));
1975
1978
  //mol/wire/atom/atom.ts
1976
1979
  ;
@@ -6054,4 +6057,4 @@ var $;
6054
6057
  //mol/plot/mark/hor/hor.view.ts
6055
6058
  ;
6056
6059
  export default $
6057
- //# sourceMappingURL=node.esm.js.map
6060
+ //# sourceMappingURL=node.mjs.map