From 8adb5e7732a03f1a171ed37a374bb22aa24f9ad1 Mon Sep 17 00:00:00 2001 From: Zhen Liu Date: Sat, 30 Nov 2024 21:22:27 -0800 Subject: [PATCH] Added documentation for changes --- src/renderer/AppConsole.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/AppConsole.tsx b/src/renderer/AppConsole.tsx index 7767a70..3aaf10e 100644 --- a/src/renderer/AppConsole.tsx +++ b/src/renderer/AppConsole.tsx @@ -15,6 +15,7 @@ export default function AppConsole({ height: number; messages: AppConsoleMessage[]; }) { + // Add autoscroll feature to AppConsole by setting the current scrollTop prop to the current scrollHeight value const consoleRef = useRef(null); useEffect(() => {