mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
make video fast-forwarding with horizontal gestures easier in landscape mode
This commit is contained in:
parent
4be9c0b431
commit
fe9d34295a
1 changed files with 2 additions and 1 deletions
|
@ -377,7 +377,8 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
|
|||
video_surface.layoutParams = this
|
||||
}
|
||||
|
||||
mScreenWidth = (screenWidth * 0.8).toInt()
|
||||
val multiplier = if (screenWidth > screenHeight) 0.5 else 0.8
|
||||
mScreenWidth = (screenWidth * multiplier).toInt()
|
||||
}
|
||||
|
||||
private fun changeOrientation() {
|
||||
|
|
Loading…
Reference in a new issue