diff --git a/components/Buttons/JFButtons.brs b/components/Buttons/JFButtons.brs index ec92399ee..1afcc6e8d 100644 --- a/components/Buttons/JFButtons.brs +++ b/components/Buttons/JFButtons.brs @@ -15,7 +15,7 @@ sub init() m.focusRing.color = m.global.constants.colors.button m.buttonCount = 0 - m.selectedFocusedIndex = 1 + m.selectedFocusedIndex = 0 m.textSizeTask = createObject("roSGNode", "TextSizeTask") @@ -25,6 +25,12 @@ sub init() end sub +' +' When Selected Index set, ensure it is the one Focused +sub selectedIndexChanged() + m.selectedFocusedIndex = m.top.selectedIndex +end sub + ' ' When options are fully displayed, set focus and selected option sub renderChanged() diff --git a/components/Buttons/JFButtons.xml b/components/Buttons/JFButtons.xml index b7fdde607..55c0814b3 100644 --- a/components/Buttons/JFButtons.xml +++ b/components/Buttons/JFButtons.xml @@ -23,7 +23,7 @@ - +