fix log scroll

This commit is contained in:
Julian Freeman
2025-12-08 09:11:53 -04:00
parent 7c1c9c6a2f
commit f23b37a581
2 changed files with 31 additions and 11 deletions

View File

@@ -50,5 +50,9 @@ export const useLogsStore = defineStore('logs', () => {
logs.value = []
}
return { logs, addLog, initListener, clearLogs }
// UI State Persistence
const autoScroll = ref(true)
const scrollTop = ref(0)
return { logs, addLog, initListener, clearLogs, autoScroll, scrollTop }
})