Skip to content

Commit

Permalink
Update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfin-bot committed Nov 19, 2023
1 parent 7be954d commit e403b2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/api/components_video_OSD.bs.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@
' 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
Expand Down
2 changes: 0 additions & 2 deletions docs/api/components_video_VideoPlayerView.bs.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,12 @@
'
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
Expand Down

0 comments on commit e403b2c

Please sign in to comment.