mol_plot_all 1.2.1300 → 1.2.1302

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.
package/web.mjs CHANGED
@@ -2510,11 +2510,11 @@ var $;
2510
2510
  }
2511
2511
  *view_find(check, path = []) {
2512
2512
  if (path.length === 0 && check(this))
2513
- return yield [...path, this];
2513
+ return yield [this];
2514
2514
  try {
2515
2515
  for (const item of this.sub()) {
2516
2516
  if (item instanceof $mol_view && check(item)) {
2517
- return yield [...path, item];
2517
+ return yield [...path, this, item];
2518
2518
  }
2519
2519
  }
2520
2520
  for (const item of this.sub()) {