xP: advance unread marker when the log is visible

This commit is contained in:
Přemysl Eric Janouch 2022-09-10 15:48:16 +02:00
parent 6f4a3f4657
commit 5f02dddd11
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ rpc.addEventListener('BufferLine', event => {
return
}
let visible = !document.hidden &&
let visible = !document.hidden && bufferLog === undefined &&
(e.bufferName == bufferCurrent || e.leakToActive)
b.lines.push({...line})
if (!(visible || e.leakToActive) ||