From 0e1d2882487451cb69b31b0a5a09940ea6b6aa2a Mon Sep 17 00:00:00 2001 From: Kai Gunger Date: Sat, 20 Dec 2025 17:33:16 -0500 Subject: Add buffer for log scrolling --- scripts/gui-common/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/gui-common/log.js b/scripts/gui-common/log.js index e5f2bbf..bc93546 100644 --- a/scripts/gui-common/log.js +++ b/scripts/gui-common/log.js @@ -5,7 +5,7 @@ const LOG_EL = document.getElementsByTagName("log")[0]; let LAST_LOG_TYPE = ""; function at_bot(el) { - return el.scrollTop >= (el.scrollHeight - el.clientHeight) + return (el.scrollTop + 10) >= (el.scrollHeight - el.clientHeight) } function addLogEntry(object) { -- cgit v1.2.3