Skip to content
Snippets Groups Projects
Commit 280eaac6 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Geoffrey Métais
Browse files

Prevent closing equalizer when swiping between vertical progressbars

(cherry picked from commit 2071aa6d)
parent 03df0b7e
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
*****************************************************************************/
package org.videolan.vlc.gui.audio
import android.annotation.SuppressLint
import android.content.DialogInterface
import android.os.Bundle
import android.text.TextUtils
......@@ -120,6 +121,15 @@ class EqualizerFragment : VLCBottomSheetDialogFragment() {
return binding.root
}
@SuppressLint("ClickableViewAccessibility")
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
binding.equalizerBands.setOnTouchListener { v, event ->
v.parent.requestDisallowInterceptTouchEvent(true)
true
}
}
private fun fillViews() {
val presets = equalizerPresets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment