From 5f02dddd1103c78677a07b02ec7b4b9594fcc36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?=
Date: Sat, 10 Sep 2022 15:48:16 +0200 Subject: [PATCH] xP: advance unread marker when the log is visible --- xP/public/xP.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ||