mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
fix clicking on screen sides at video player
This commit is contained in:
parent
90c5bcdb77
commit
3376e14f20
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue