mol_plot_all 1.2.355 → 1.2.357
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/package.json
CHANGED
package/web.d.ts
CHANGED
|
@@ -569,7 +569,7 @@ declare namespace $ {
|
|
|
569
569
|
plugins(): readonly $mol_view[];
|
|
570
570
|
view_find(check: (path: $mol_view, text?: string) => boolean, path?: $mol_view[]): Generator<$mol_view[]>;
|
|
571
571
|
force_render(path: Set<$mol_view>): void;
|
|
572
|
-
ensure_visible(view: $mol_view, align?: ScrollLogicalPosition):
|
|
572
|
+
ensure_visible(view: $mol_view, align?: ScrollLogicalPosition): void;
|
|
573
573
|
bring(): void;
|
|
574
574
|
}
|
|
575
575
|
type $mol_view_all = $mol_type_pick<$, typeof $mol_view>;
|
package/web.esm.js
CHANGED
|
@@ -2152,7 +2152,7 @@ var $;
|
|
|
2152
2152
|
kids[index].force_render(path);
|
|
2153
2153
|
}
|
|
2154
2154
|
}
|
|
2155
|
-
|
|
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
|
}
|