Fix nextup button when trickbar has focus
This commit is contained in:
parent
cc8a27358a
commit
ef8d5dc914
|
@ -184,10 +184,15 @@ end sub
|
||||||
|
|
||||||
function onKeyEvent(key as string, press as boolean) as boolean
|
function onKeyEvent(key as string, press as boolean) as boolean
|
||||||
|
|
||||||
if key = "OK" and m.nextEpisodeButton.hasFocus()
|
if key = "OK" and m.nextEpisodeButton.isinfocuschain() and m.top.trickPlayMode = "play"
|
||||||
m.top.state = "finished"
|
m.top.state = "finished"
|
||||||
hidenextEpisode()
|
hidenextEpisode()
|
||||||
return true
|
return true
|
||||||
|
else
|
||||||
|
'Hide Next Episode Button
|
||||||
|
m.nextEpisodeButton.visible = false
|
||||||
|
m.nextEpisodeButton.setFocus(false)
|
||||||
|
m.top.setFocus(true)
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user