mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 13:08:00 +01:00
fix #1191, allow toggling play/pause in fullscreen mode
This commit is contained in:
parent
162b3ac2a1
commit
8b63d27cdc
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
|
||||||
it.animate().alpha(newAlpha).start()
|
it.animate().alpha(newAlpha).start()
|
||||||
}
|
}
|
||||||
video_seekbar.setOnSeekBarChangeListener(if (mIsFullscreen) null else this)
|
video_seekbar.setOnSeekBarChangeListener(if (mIsFullscreen) null else this)
|
||||||
arrayOf(video_toggle_play_pause, video_curr_time, video_duration).forEach {
|
arrayOf(video_curr_time, video_duration).forEach {
|
||||||
it.isClickable = !mIsFullscreen
|
it.isClickable = !mIsFullscreen
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue