2
0
Fork 1
mirror of https://github.com/FossifyOrg/Gallery.git synced 2025-04-21 18:59:48 +02:00

launch the panorama viewer at video fragment when seekbar is pressed

This commit is contained in:
tibbi 2018-10-30 23:24:31 +01:00
parent 9e6ccbe67c
commit e42c944fda

View file

@ -629,6 +629,11 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
}
override fun onStopTrackingTouch(seekBar: SeekBar) {
if (mIsPanorama) {
openPanorama()
return
}
if (mExoPlayer == null)
return