mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:43:25 +00:00
chore: wording
This commit is contained in:
@@ -105,8 +105,8 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({ data }) => {
|
|||||||
const panGesture = Gesture.Pan()
|
const panGesture = Gesture.Pan()
|
||||||
.onUpdate((event) => {
|
.onUpdate((event) => {
|
||||||
const divisor = 5000;
|
const divisor = 5000;
|
||||||
const dragIsInHeaderOrFooter = event.y < 100 || event.y > 400;
|
const panIsInHeaderOrFooter = event.y < 100 || event.y > 400;
|
||||||
if (dragIsInHeaderOrFooter) return;
|
if (panIsInHeaderOrFooter) return;
|
||||||
|
|
||||||
const directionMultiplier = event.velocityY < 0 ? 1 : -1;
|
const directionMultiplier = event.velocityY < 0 ? 1 : -1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user