aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-11-22 18:34:46 +0100
committerstonedDiscord <Tukz@gmx.de>2023-11-22 18:34:46 +0100
commit6480caf604d06778109cb58e5983d883725838a9 (patch)
tree588ec8087c6e1cf1f3f323761bd6283e819bc1e7
parentfb97c9c49478ec47b7dec7963ad6fd15b4365da1 (diff)
adjust offset
-rw-r--r--webAO/client/appendICLog.ts2
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());