scroll if hidden hints are toggled

This commit is contained in:
Jon Eugster
2023-07-16 23:01:55 +02:00
parent 95480a752d
commit 8f12aab3b0
+1 -1
View File
@@ -93,7 +93,7 @@ function PlayableLevel({worldId, levelId}) {
// TODO: For some reason this is always called twice
console.debug('scroll chat')
chatRef.current!.lastElementChild?.scrollIntoView() //scrollTo(0,0)
}, [proof])
}, [proof, showHiddenHints])
React.useEffect(() => {
if (!commandLineMode) {