Faster animation speed
This commit is contained in:
parent
97c8f99499
commit
4e2da206ca
@ -809,7 +809,7 @@ export default class AnimeNotifier {
|
|||||||
|
|
||||||
modifyDelayed(elements: IterableIterator<HTMLElement>, func: (element: HTMLElement) => void) {
|
modifyDelayed(elements: IterableIterator<HTMLElement>, func: (element: HTMLElement) => void) {
|
||||||
const maxDelay = 2500
|
const maxDelay = 2500
|
||||||
const delay = 40
|
const delay = 20
|
||||||
|
|
||||||
let time = 0
|
let time = 0
|
||||||
let start = Date.now()
|
let start = Date.now()
|
||||||
@ -895,7 +895,7 @@ export default class AnimeNotifier {
|
|||||||
this.loading(true)
|
this.loading(true)
|
||||||
|
|
||||||
// Delay by mountable-transition-speed
|
// Delay by mountable-transition-speed
|
||||||
await delay(250)
|
await delay(150)
|
||||||
|
|
||||||
let html = await request
|
let html = await request
|
||||||
|
|
||||||
|
@ -149,4 +149,4 @@ const user-pro-icon-size = 1.1rem
|
|||||||
// Timings
|
// Timings
|
||||||
fade-speed = 150ms
|
fade-speed = 150ms
|
||||||
transition-speed = 150ms
|
transition-speed = 150ms
|
||||||
mountable-transition-speed = 250ms
|
mountable-transition-speed = 150ms
|
||||||
|
Loading…
Reference in New Issue
Block a user