fix: consume vertical drag events to prevent overlay toggle

Vertical drag gestures (brightness/volume) were not consuming pointer
events, causing detectTapGestures to fire onTap and toggle the player
overlay when the gesture ended.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-19 20:25:39 +01:00
parent 41a17ec506
commit 45ce086b5e

View File

@@ -94,6 +94,7 @@ fun PlayerGesturesLayer(
}
}
DragDirection.VERTICAL -> {
change.consume()
val isLeftSide = startX < size.width / 2
if (isLeftSide) {
onVerticalDragLeft(delta.y)