Skip to content

Commit

Permalink
Merge pull request #416 from Darock-Studio/fix/video-menu
Browse files Browse the repository at this point in the history
fix: video menu page gesture
  • Loading branch information
WindowsMEMZ authored Oct 6, 2024
2 parents fc8f56a + f682e0b commit 76e3955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MeowBili/Video/VideoPlayerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ struct VideoPlayerView: View {
}
.tag(2)
}
.tabViewStyle(.page)
.tabViewStyle(.page(indexDisplayMode: cachedPlayerTimeControlStatus != .playing ? .always : .never))
.toolbar(.hidden, for: .navigationBar)
.ignoresSafeArea()
.accessibilityQuickAction(style: .prompt) {
Expand Down Expand Up @@ -614,7 +614,7 @@ private struct ZoomableRepresent<T>: _UIViewControllerRepresentable where T: Vie

func gestureRecognizer(
_ gestureRecognizer: Any,
shouldRecognizeSimultaneouslyWith otherGestureRecognizer: Any
shouldRecognizeSimultaneouslyWithGestureRecognizer otherGestureRecognizer: Any
) -> Bool {
true
}
Expand Down

0 comments on commit 76e3955

Please sign in to comment.