mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57: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) {
|
||||
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_player_holder.performClick()
|
||||
fullscreenToggled(!mIsFullscreen)
|
||||
}
|
||||
} else {
|
||||
video_brightness_controller.beGone()
|
||||
|
|
Loading…
Reference in a new issue