Increasing the startup time.
This commit is contained in:
parent
01a9ecde1e
commit
18eec2058e
@ -77,7 +77,7 @@ export default function Game (props: GameProps): JSX.Element {
|
||||
}
|
||||
return websocket
|
||||
})
|
||||
}, 100)
|
||||
}, 500)
|
||||
return (
|
||||
<>
|
||||
<UpperPanel teamPJs={teamPJs}
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user