mirror of
https://github.com/yattee/yattee.git
synced 2026-05-13 19:05:03 +00:00
Seek with remote arrows when tvOS player controls are hidden
Left/right on the Siri Remote now seek instead of revealing controls, reusing the iOS tap-seek accumulation handler and feedback overlay so rapid presses compound into a single "+30s" / "-20s" jump. Up/down still show controls.
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
// Handles execution of gesture actions on the player.
|
||||
//
|
||||
|
||||
#if os(iOS)
|
||||
import UIKit
|
||||
import Foundation
|
||||
|
||||
/// Result of executing a tap gesture action.
|
||||
struct TapActionResult: Sendable {
|
||||
@@ -206,4 +205,3 @@ actor PlayerGestureActionHandler {
|
||||
self.duration = duration
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user