Repository navigation
Commit 604dffc
Fix swipe navigation blocked by controls and reduce video buffering jitter
GestureBlockerView's shouldBeRequiredToFailBy returned true
unconditionally, preventing the parent navigation DragGesture from
ever firing. Now cancels its own pan gesture when a large horizontal
swipe is detected (>80pt, mostly horizontal), letting the SwiftUI
navigation gesture through. Short drags (scrub bar, sliders) are
still blocked as intended.
For remote video streams, set preferredForwardBufferDuration=30 and
automaticallyWaitsToMinimizeStalling=false to match VR player config.
This reduces stalling on slow connections by buffering more aggressively
and starting playback immediately instead of waiting for a full buffer.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 31e2c47 commit 604dffc
2 files changed
Lines changed: 30 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
74 | 87 | | |
75 | 88 | | |
76 | 89 | | |
| |||
90 | 103 | | |
91 | 104 | | |
92 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
93 | 115 | | |
94 | 116 | | |
95 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2529 | 2529 | | |
2530 | 2530 | | |
2531 | 2531 | | |
| 2532 | + | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
2532 | 2536 | | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
2533 | 2540 | | |
2534 | 2541 | | |
2535 | 2542 | | |
| |||
0 commit comments