mol_plot_all 1.2.354 → 1.2.356

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.js CHANGED
@@ -2152,7 +2152,7 @@ var $;
2152
2152
  kids[index].force_render(path);
2153
2153
  }
2154
2154
  }
2155
- async ensure_visible(view, align = "start") {
2155
+ ensure_visible(view, align = "start") {
2156
2156
  const path = this.view_find(v => v === view).next().value;
2157
2157
  this.force_render(new Set(path));
2158
2158
  this.dom_final();
@@ -2160,7 +2160,7 @@ var $;
2160
2160
  }
2161
2161
  bring() {
2162
2162
  new $mol_after_frame(() => {
2163
- this.dom_node().scrollIntoView();
2163
+ this.dom_node().scrollIntoView({ inline: 'start' });
2164
2164
  this.focused(true);
2165
2165
  });
2166
2166
  }
@@ -2626,8 +2626,7 @@ var $;
2626
2626
  return obj;
2627
2627
  }
2628
2628
  hue() {
2629
- const obj = new this.$.NaN();
2630
- return obj;
2629
+ return +NaN;
2631
2630
  }
2632
2631
  Sample() {
2633
2632
  return null;
@@ -2698,9 +2697,6 @@ var $;
2698
2697
  __decorate([
2699
2698
  $mol_mem
2700
2699
  ], $mol_plot_graph.prototype, "Hint", null);
2701
- __decorate([
2702
- $mol_mem
2703
- ], $mol_plot_graph.prototype, "hue", null);
2704
2700
  __decorate([
2705
2701
  $mol_mem
2706
2702
  ], $mol_plot_graph.prototype, "viewport_x", null);
@@ -3358,8 +3354,7 @@ var $;
3358
3354
  hue_base(val) {
3359
3355
  if (val !== undefined)
3360
3356
  return val;
3361
- const obj = new this.$.NaN();
3362
- return obj;
3357
+ return +NaN;
3363
3358
  }
3364
3359
  hue_shift(val) {
3365
3360
  if (val !== undefined)