Only hide gallery controls automatically while playing

This commit is contained in:
Shadowfacts 2024-08-26 19:08:44 -04:00
parent d873b157ee
commit d1ffab3e42
1 changed files with 2 additions and 1 deletions

View File

@ -216,7 +216,8 @@ class VideoGalleryContentViewController: UIViewController, GalleryContentViewCon
if !visible {
hideControlsWorkItem?.cancel()
} else if dueToUserInteraction {
} else if dueToUserInteraction,
player.rate > 0 {
scheduleControlsHide()
}
}