mol_plot_all 1.2.355 → 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.d.ts +1 -1
- package/node.esm.js +2 -2
- package/node.esm.js.map +1 -1
- package/node.js +2 -2
- package/node.js.map +1 -1
- package/node.test.js +2 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.esm.js +2 -2
- package/web.esm.js.map +1 -1
- package/web.js +2 -2
- package/web.js.map +1 -1
package/node.js
CHANGED
|
@@ -2637,7 +2637,7 @@ var $;
|
|
|
2637
2637
|
kids[index].force_render(path);
|
|
2638
2638
|
}
|
|
2639
2639
|
}
|
|
2640
|
-
|
|
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
|
}
|