Skip to content

Commit

Permalink
Deploying to gh-pages from @ d72f1f4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
koplenov committed Aug 2, 2024
1 parent 3b617be commit 6a09c31
Show file tree
Hide file tree
Showing 12 changed files with 276 additions and 226 deletions.
206 changes: 103 additions & 103 deletions node.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node.deps.json

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions node.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3002,8 +3002,7 @@ var $;
const win = this.$.$mol_dom_context;
if (win.parent !== win.self && !win.document.hasFocus())
return;
new this.$.$mol_after_frame(() => {
this.dom_node().scrollIntoView({ block: 'start', inline: 'nearest' });
new this.$.$mol_after_timeout(500, () => {
this.focused(true);
});
}
Expand Down Expand Up @@ -3493,7 +3492,8 @@ var $;
return this.pages()[0]?.title() || this.title();
}
sub() {
const next = [...this.pages(), this.Placeholder()];
const placeholder = this.Placeholder();
const next = [...this.pages(), placeholder];
const prev = $mol_mem_cached(() => this.sub()) ?? [];
for (let i = 1; i++;) {
const p = prev[prev.length - i];
Expand All @@ -3502,7 +3502,17 @@ var $;
break;
if (p === n)
continue;
if (n === placeholder)
continue;
n.bring();
new this.$.$mol_after_frame(() => {
const b = this.dom_node();
const p = n.dom_node();
b.scroll({
left: p.offsetLeft + p.offsetWidth - b.offsetWidth,
behavior: 'smooth',
});
});
break;
}
return next;
Expand Down
16 changes: 13 additions & 3 deletions node.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node.test.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 6a09c31

Please sign in to comment.