[update] Reduce the protected area

This commit is contained in:
acite
2025-09-27 17:35:38 +08:00
parent cf0c68812d
commit dcef25a526

View File

@@ -107,7 +107,7 @@ fun VideoPlayerLandscape(videoPlayerViewModel: VideoPlayerViewModel) {
detectDragGestures(
onDragStart = { offset ->
if (videoPlayerViewModel.locked) return@detectDragGestures
if(offset.y > size.height * 0.8 || offset.y < size.height * 0.2)
if(offset.y > size.height * 0.9 || offset.y < size.height * 0.1)
videoPlayerViewModel.draggingPurpose = -3
// Set gesture protection for the bottom of the screen
// (Prevent conflicts with system gestures, such as dropdown status bar, bottom swipe up menu)