fix clicking on screen sides at video player

This commit is contained in:
tibbi 2019-01-04 14:21:36 +01:00
parent 90c5bcdb77
commit 3376e14f20

View file

@ -165,11 +165,11 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
if (config.allowVideoGestures) { if (config.allowVideoGestures) {
video_brightness_controller.initialize(this, slide_info, true, video_player_holder) { x, y -> video_brightness_controller.initialize(this, slide_info, true, video_player_holder) { x, y ->
video_player_holder.performClick() fullscreenToggled(!mIsFullscreen)
} }
video_volume_controller.initialize(this, slide_info, false, video_player_holder) { x, y -> video_volume_controller.initialize(this, slide_info, false, video_player_holder) { x, y ->
video_player_holder.performClick() fullscreenToggled(!mIsFullscreen)
} }
} else { } else {
video_brightness_controller.beGone() video_brightness_controller.beGone()