Increasing the startup time.

This commit is contained in:
Sergiotarxz 2023-06-19 17:22:15 +02:00
parent 01a9ecde1e
commit 18eec2058e
3 changed files with 5 additions and 3 deletions

View File

@ -77,7 +77,7 @@ export default function Game (props: GameProps): JSX.Element {
}
return websocket
})
}, 100)
}, 500)
return (
<>
<UpperPanel teamPJs={teamPJs}

View File

@ -84,6 +84,8 @@ export default class InputPackets {
const [scrollHeight, scrollTop, offsetHeight] = scrollData
if (firstTime) {
firstTime = false
console.log(scrollHeight, logPresentation.scrollHeight)
logPresentation.scrollTo(0, logPresentation.scrollHeight)
return
}
if (scrollHeight === offsetHeight) {

File diff suppressed because one or more lines are too long