Show pause menu when video is paused using OK button

This commit is contained in:
1hitsong 2023-10-31 10:21:30 -04:00
parent def3eba8b5
commit bce1211d1c

View File

@ -549,6 +549,15 @@ function onKeyEvent(key as string, press as boolean) as boolean
return false
else if m.top.state = "playing"
m.top.control = "pause"
' Disable pause menu for intro videos
if not m.LoadMetaDataTask.isIntro
' Show pause menu
m.top.control = "pause"
m.pauseMenu.visible = true
m.pauseMenu.setFocus(true)
return true
end if
return false
end if
end if