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
|
return websocket
|
||||||
})
|
})
|
||||||
}, 100)
|
}, 500)
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<UpperPanel teamPJs={teamPJs}
|
<UpperPanel teamPJs={teamPJs}
|
||||||
|
@ -84,6 +84,8 @@ export default class InputPackets {
|
|||||||
const [scrollHeight, scrollTop, offsetHeight] = scrollData
|
const [scrollHeight, scrollTop, offsetHeight] = scrollData
|
||||||
if (firstTime) {
|
if (firstTime) {
|
||||||
firstTime = false
|
firstTime = false
|
||||||
|
console.log(scrollHeight, logPresentation.scrollHeight)
|
||||||
|
logPresentation.scrollTo(0, logPresentation.scrollHeight)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (scrollHeight === offsetHeight) {
|
if (scrollHeight === offsetHeight) {
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user