Skip to content

Commit a69e119

Browse files
committed
Update code docs
1 parent 35d9c84 commit a69e119

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

docs/components_liveTv_ProgramDetails.bs.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
m.overview.maxLines = m.maxDetailLines
9393
prog = m.top.programDetails
9494

95+
m.buttons.buttonFocused = 0
96+
9597
' If no program selected, hide details view
9698
if not isValid(prog)
9799
channelUpdated()
@@ -266,8 +268,12 @@
266268
end sub
267269

268270
sub onAnimationComplete()
269-
if m.focusAnimation.state = "stopped" and m.top.hasFocus = false
270-
m.overview.maxLines = m.maxPreviewLines
271+
if m.focusAnimation.state = "stopped"
272+
if m.top.hasFocus = false
273+
m.overview.maxLines = m.maxPreviewLines
274+
else if m.top.hasFocus = true
275+
m.buttons.callFunc("focus")
276+
end if
271277
end if
272278
end sub
273279

0 commit comments

Comments
 (0)