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/node.js CHANGED
@@ -2637,7 +2637,7 @@ var $;
2637
2637
  kids[index].force_render(path);
2638
2638
  }
2639
2639
  }
2640
- async ensure_visible(view, align = "start") {
2640
+ ensure_visible(view, align = "start") {
2641
2641
  const path = this.view_find(v => v === view).next().value;
2642
2642
  this.force_render(new Set(path));
2643
2643
  this.dom_final();
@@ -2645,7 +2645,7 @@ var $;
2645
2645
  }
2646
2646
  bring() {
2647
2647
  new $mol_after_frame(() => {
2648
- this.dom_node().scrollIntoView();
2648
+ this.dom_node().scrollIntoView({ inline: 'start' });
2649
2649
  this.focused(true);
2650
2650
  });
2651
2651
  }
@@ -3076,8 +3076,7 @@ var $;
3076
3076
  return obj;
3077
3077
  }
3078
3078
  hue() {
3079
- const obj = new this.$.NaN();
3080
- return obj;
3079
+ return +NaN;
3081
3080
  }
3082
3081
  Sample() {
3083
3082
  return null;
@@ -3148,9 +3147,6 @@ var $;
3148
3147
  __decorate([
3149
3148
  $mol_mem
3150
3149
  ], $mol_plot_graph.prototype, "Hint", null);
3151
- __decorate([
3152
- $mol_mem
3153
- ], $mol_plot_graph.prototype, "hue", null);
3154
3150
  __decorate([
3155
3151
  $mol_mem
3156
3152
  ], $mol_plot_graph.prototype, "viewport_x", null);
@@ -3808,8 +3804,7 @@ var $;
3808
3804
  hue_base(val) {
3809
3805
  if (val !== undefined)
3810
3806
  return val;
3811
- const obj = new this.$.NaN();
3812
- return obj;
3807
+ return +NaN;
3813
3808
  }
3814
3809
  hue_shift(val) {
3815
3810
  if (val !== undefined)