Skip to content

Commit

Permalink
adjust offset
Browse files Browse the repository at this point in the history
  • Loading branch information
stonedDiscord committed Nov 22, 2023
1 parent fb97c9c commit 6480caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webAO/client/appendICLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 6480caf

Please sign in to comment.