From fc8e80d9996f393ccfbbfde76b36bbabd6e27836 Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Thu, 7 Dec 2023 08:12:42 -0500 Subject: [PATCH] Fix focus on library row --- components/home/HomeRows.bs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/home/HomeRows.bs b/components/home/HomeRows.bs index b888da39..3bb3682b 100644 --- a/components/home/HomeRows.bs +++ b/components/home/HomeRows.bs @@ -280,6 +280,12 @@ sub createLibraryRow() ' Row already exists, replace it with new content if sectionExists(sectionName) m.top.content.replaceChild(row, getSectionIndex(sectionName)) + + ' Reset focus to item within the row, if it was previous highlighted + if m.top.rowItemFocused[0] = getSectionIndex(sectionName) + m.top.jumpToRowItem = [m.top.rowItemFocused[0], m.top.rowItemFocused[1]] + end if + setRowItemSize() return end if