mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
fix: increase area that can be used to control the time bar
This commit is contained in:
parent
c84f445711
commit
563af5ecca
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user