mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 16:00:31 +05:30
improve the space for double tapping
This commit is contained in:
parent
217dd9b990
commit
a7ea5c0cfb
@ -1099,8 +1099,8 @@ class PlayerFragment : Fragment() {
|
|||||||
override fun onEvent(x: Float) {
|
override fun onEvent(x: Float) {
|
||||||
val width = exoPlayerView.width
|
val width = exoPlayerView.width
|
||||||
when {
|
when {
|
||||||
width * 0.45 > x -> rewind()
|
width * 0.5 > x -> rewind()
|
||||||
width * 0.55 < x -> forward()
|
width * 0.5 < x -> forward()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user