Browse Source

Decrease the video touch safety size

merge-requests/2174/head
Nicolas Pomepuy 1 year ago
parent
commit
cab84e9716
  1. 2
      application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt

2
application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt

@ -112,7 +112,7 @@ class VideoTouchDelegate(private val player: VideoPlayerActivity,
private val seekRewindSecond: ImageView by lazy { player.findViewById(R.id.seekRewindSecond) } private val seekRewindSecond: ImageView by lazy { player.findViewById(R.id.seekRewindSecond) }
private val seekContainer: ConstraintLayout by lazy { player.findViewById(R.id.seekContainer) } private val seekContainer: ConstraintLayout by lazy { player.findViewById(R.id.seekContainer) }
private val seekBackground: FrameLayout by lazy { player.findViewById(R.id.seek_background) } private val seekBackground: FrameLayout by lazy { player.findViewById(R.id.seek_background) }
private val gestureSafetyMargin = 48.dp.toFloat() private val gestureSafetyMargin = 24.dp.toFloat()
companion object { companion object {
private const val TAG = "VLC/VideoTouchDelegate" private const val TAG = "VLC/VideoTouchDelegate"

Loading…
Cancel
Save