Update API docs

This commit is contained in:
jellyfin-bot 2023-11-19 12:22:50 +00:00
parent 7be954dbca
commit e403b2ce33
2 changed files with 5 additions and 2 deletions

View File

@ -112,6 +112,11 @@ end sub
' inactiveCheck: Checks if the time since last keypress is greater than or equal to the allowed inactive time of the menu.
'
sub inactiveCheck()
' If user is currently seeing a dialog box, ignore inactive check
if m.global.sceneManager.callFunc("isDialogOpen")
return
end if
if m.deviceInfo.timeSinceLastKeypress() >= m.top.inactiveTimeout
m.top.action = "hide"
end if

View File

@ -163,14 +163,12 @@ end sub
'
sub handleShowSubtitleMenuAction()
m.top.selectSubtitlePressed = true
handleHideAction(false)
end sub
' handleShowVideoInfoPopupAction: Handles action to show video info popup
'
sub handleShowVideoInfoPopupAction()
m.top.selectPlaybackInfoPressed = true
handleHideAction(false)
end sub
' onOSDAction: Process action events from OSD to their respective handlers