diff options
| author | stonedDiscord <Tukz@gmx.de> | 2023-11-22 18:34:46 +0100 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2023-11-22 18:34:46 +0100 |
| commit | 6480caf604d06778109cb58e5983d883725838a9 (patch) | |
| tree | 588ec8087c6e1cf1f3f323761bd6283e819bc1e7 /webAO/client | |
| parent | fb97c9c49478ec47b7dec7963ad6fd15b4365da1 (diff) | |
adjust offset
Diffstat (limited to 'webAO/client')
| -rw-r--r-- | webAO/client/appendICLog.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client/appendICLog.ts b/webAO/client/appendICLog.ts index bb95920..307009c 100644 --- a/webAO/client/appendICLog.ts +++ b/webAO/client/appendICLog.ts @@ -48,7 +48,7 @@ export function appendICLog( const clientLog = document.getElementById("client_log")!; clientLog.appendChild(entry); - if (clientLog.scrollTop+clientLog.offsetHeight+50>clientLog.scrollHeight) + if (clientLog.scrollTop+clientLog.offsetHeight+120>clientLog.scrollHeight) clientLog.scrollTo(0, clientLog.scrollHeight); setLastICMessageTime(new Date()); |
