feat: make *_persistency support idle (#274)

This commit is contained in:
hooke007
2022-09-28 07:46:19 +01:00
committed by GitHub
parent 74a9b34705
commit d304022c9e
2 changed files with 2 additions and 1 deletions

View File

@@ -1466,6 +1466,7 @@ function Element:get_visibility()
or (persist.paused and state.pause)
or (persist.video and state.is_video)
or (persist.image and state.is_image)
or (persist.idle and state.is_idle)
) then return 1 end
-- Forced visibility