mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
make video fast-forwarding with horizontal gestures easier in landscape mode
This commit is contained in:
@ -377,7 +377,8 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
|
|||||||
video_surface.layoutParams = this
|
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() {
|
private fun changeOrientation() {
|
||||||
|
Reference in New Issue
Block a user