v0.10.2 - fix focus
This commit is contained in:
parent
b5bd8aa736
commit
9f0add5b1c
1
dist/assets/index-BWVK_Osd.js
vendored
1
dist/assets/index-BWVK_Osd.js
vendored
File diff suppressed because one or more lines are too long
1
dist/assets/index-CluJD7uC.js
vendored
Normal file
1
dist/assets/index-CluJD7uC.js
vendored
Normal file
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-BWVK_Osd.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-CluJD7uC.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.1",
|
||||
"version": "0.10.2",
|
||||
"scripts": {
|
||||
"dev": "bun x vite",
|
||||
"build": "bun x vite build",
|
||||
|
@ -30,7 +30,7 @@ export class $PostGrid extends $Layout<$PostGridEventMap> {
|
||||
if (this.finished) {
|
||||
this.finished = false;
|
||||
this.events.fire('startLoad');
|
||||
this.loader();
|
||||
this.loader();
|
||||
}
|
||||
})
|
||||
this.on('resize', () => this.resize())
|
||||
@ -101,6 +101,7 @@ export class $PostGrid extends $Layout<$PostGridEventMap> {
|
||||
this.posts.clear();
|
||||
this.$posts.clear();
|
||||
this.orderMap.clear();
|
||||
this.$focus.layer(100).removeAll();
|
||||
this.animate({opacity: [1, 0]}, {duration: 300, easing: 'ease'}, () => this.clear().render())
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user