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