xP: advance unread marker when the log is visible
This commit is contained in:
parent
6f4a3f4657
commit
5f02dddd11
@ -221,7 +221,7 @@ rpc.addEventListener('BufferLine', event => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let visible = !document.hidden &&
|
let visible = !document.hidden && bufferLog === undefined &&
|
||||||
(e.bufferName == bufferCurrent || e.leakToActive)
|
(e.bufferName == bufferCurrent || e.leakToActive)
|
||||||
b.lines.push({...line})
|
b.lines.push({...line})
|
||||||
if (!(visible || e.leakToActive) ||
|
if (!(visible || e.leakToActive) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user