From 5f02dddd1103c78677a07b02ec7b4b9594fcc36d Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sat, 10 Sep 2022 15:48:16 +0200 Subject: xP: advance unread marker when the log is visible --- xP/public/xP.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xP/public') diff --git a/xP/public/xP.js b/xP/public/xP.js index 48b2aef..91a7f75 100644 --- a/xP/public/xP.js +++ b/xP/public/xP.js @@ -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) || -- cgit v1.2.3-70-g09d2