Fix nextup button when trickbar has focus

This commit is contained in:
candry7731 2022-11-12 22:55:03 -06:00
parent cc8a27358a
commit ef8d5dc914

View File

@ -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