diff --git a/components/ItemGrid/GridItemSmall.bs b/components/ItemGrid/GridItemSmall.bs index a197d37bc..8211e2180 100644 --- a/components/ItemGrid/GridItemSmall.bs +++ b/components/ItemGrid/GridItemSmall.bs @@ -4,7 +4,7 @@ import "pkg:/source/utils/config.bs" sub init() m.itemPoster = m.top.findNode("itemPoster") m.posterText = m.top.findNode("posterText") - m.title = m.top.findNode("title") + initTitle() m.posterText.font.size = 30 m.title.font.size = 25 m.backdrop = m.top.findNode("backdrop") @@ -23,6 +23,10 @@ sub init() end if end sub +sub initTitle() + m.title = m.top.findNode("title") +end sub + sub itemContentChanged() m.backdrop.blendColor = "#101010" @@ -54,6 +58,8 @@ sub itemContentChanged() end sub sub focusChanged() + if not isValid(m.title) then initTitle() + if m.top.itemHasFocus = true m.title.repeatCount = -1 else