mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 21:49:31 -07:00
now the overlay delay time will change with the stack depth
This commit is contained in:
@@ -124,7 +124,7 @@ async function enterOverlay(): Promise<void> {
|
||||
e.style.transitionDelay = `${0.1 * i}s`
|
||||
}
|
||||
}
|
||||
await delay(1600)
|
||||
await delay(stackDepth * 100 + 100 + 1000)
|
||||
// Offset previous self increment of global index (by handleOnMove)
|
||||
globalIndexDec()
|
||||
// overlay init
|
||||
|
||||
Reference in New Issue
Block a user