fix: increase area that can be used to control the time bar

This commit is contained in:
Bnyro 2023-11-17 14:53:17 +01:00
parent c84f445711
commit 563af5ecca

View File

@ -204,6 +204,11 @@ open class CustomExoPlayerView(
if (isLive) player?.let { it.seekTo(it.duration) }
}
// forward touch events to the time bar for better accessibility
binding.bottomBar.setOnTouchListener { _, motionEvent ->
binding.exoProgress.onTouchEvent(motionEvent)
}
updateCurrentPosition()
}