Improved page transitions

This commit is contained in:
2018-06-30 12:13:04 +09:00
parent 027fea7836
commit 0027653ca8
3 changed files with 27 additions and 27 deletions

View File

@ -774,7 +774,7 @@ export default class AnimeNotifier {
modifyDelayed(elements: IterableIterator<HTMLElement>, func: (element: HTMLElement) => void) {
const maxDelay = 2500
const delay = 18
const delay = 40
let time = 0
let start = Date.now()
@ -859,8 +859,8 @@ export default class AnimeNotifier {
this.unmountMountables()
this.loading(true)
// Delay by transition-speed
await delay(150)
// Delay by mountable-transition-speed
await delay(250)
let html = await request