diff options
Diffstat (limited to 'webAO/client/appendICLog.ts')
| -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()); |
