From 25230b0fca8b981d0ef5649bbc5dcfc7701c2ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Tue, 22 Mar 2022 13:27:43 +0200 Subject: [PATCH] HTML Tree: Fix focused row losing focus sometimes not being redrawn --- chrome/content/zotero/components/virtualized-table.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/components/virtualized-table.jsx b/chrome/content/zotero/components/virtualized-table.jsx index e9ed6e5435..bb54f8d59c 100644 --- a/chrome/content/zotero/components/virtualized-table.jsx +++ b/chrome/content/zotero/components/virtualized-table.jsx @@ -127,7 +127,7 @@ class TreeSelection { let toInvalidate = new Set(this.selected); toInvalidate.add(index); - toInvalidate.add(this.pivot); + toInvalidate.add(this.focused); this.selected = new Set([index]); this.focused = index; this.pivot = index;