diff --git a/components/StandardDialog.bs b/components/StandardDialog.bs index 2b8e80b7..32447b49 100644 --- a/components/StandardDialog.bs +++ b/components/StandardDialog.bs @@ -22,6 +22,11 @@ sub init() "fontSize": 35, "fontUri": "font:SystemFontFile", "color": "#00a4dcFF" + }, + "p": { + "fontSize": 27, + "fontUri": "font:SystemFontFile", + "color": "#EFEFEFFF" } } diff --git a/components/tvshows/TVShowDetails.bs b/components/tvshows/TVShowDetails.bs index e55ec225..d33d8035 100644 --- a/components/tvshows/TVShowDetails.bs +++ b/components/tvshows/TVShowDetails.bs @@ -12,6 +12,7 @@ sub init() m.Shuffle = m.top.findNode("Shuffle") m.extrasSlider.visible = true m.seasons = m.top.findNode("seasons") + m.overview = m.top.findNode("overview") end sub sub itemContentChanged() @@ -194,11 +195,20 @@ function onKeyEvent(key as string, press as boolean) as boolean if not press then return false - overview = m.top.findNode("overview") + if key = "options" + if m.overview.isTextEllipsized + if isAllValid([m.top.itemContent.json.name, m.top.itemContent.json.overview]) + m.global.sceneManager.callFunc("standardDialog", m.top.itemContent.json.name, { data: ["

" + m.top.itemContent.json.overview + "

"] }) + return true + end if + end if + return false + end if + topGrp = m.top.findNode("seasons") bottomGrp = m.top.findNode("extrasGrid") - if key = "down" and overview.hasFocus() + if key = "down" and m.overview.hasFocus() m.Shuffle.setFocus(true) return true else if key = "down" and m.Shuffle.hasFocus() @@ -222,7 +232,7 @@ function onKeyEvent(key as string, press as boolean) as boolean m.Shuffle.setFocus(true) return true else if key = "up" and m.Shuffle.hasFocus() - overview.setFocus(true) + m.overview.setFocus(true) return true else if key = "play" and m.seasons.hasFocus() print "play was pressed from the seasons row" diff --git a/components/tvshows/TVShowDetails.xml b/components/tvshows/TVShowDetails.xml index 61831004..2ad39116 100644 --- a/components/tvshows/TVShowDetails.xml +++ b/components/tvshows/TVShowDetails.xml @@ -19,7 +19,7 @@