v0.10.4 - remove scroll back to focus when load posts
This commit is contained in:
parent
1ea53cfafd
commit
5eb5ef289d
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -16,7 +16,7 @@
|
||||
|
||||
gtag('config', 'G-59HBGP98WR');
|
||||
</script>
|
||||
<script type="module" crossorigin src="/assets/index-CQM-nw_y.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-C9jgFl23.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BgVVzy-z.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "danbooru-viewer",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
"version": "0.10.3",
|
||||
"version": "0.10.4",
|
||||
"scripts": {
|
||||
"dev": "bun x vite",
|
||||
"build": "bun x vite build",
|
||||
|
@ -34,9 +34,9 @@ export class $PostGrid extends $Layout<$PostGridEventMap> {
|
||||
}
|
||||
})
|
||||
this.on('resize', () => this.resize())
|
||||
this.on('afterRender', () => {
|
||||
this.$focus.currentLayer?.focus(this.$focus.currentLayer.currentFocus);
|
||||
})
|
||||
// this.on('afterRender', () => {
|
||||
// this.$focus.currentLayer?.focus(this.$focus.currentLayer.currentFocus);
|
||||
// })
|
||||
this.events.fire('startLoad');
|
||||
this.loader();
|
||||
this.$focus.layer(100).loop(false).scrollThreshold($.rem(2) + 60);
|
||||
|
Loading…
Reference in New Issue
Block a user