mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
removing a redundant call
This commit is contained in:
@ -808,7 +808,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
|
||||
}
|
||||
|
||||
mRight = width * mSaveScale - width
|
||||
mBottom = video_surface.height * mSaveScale - height
|
||||
mBottom = height * mSaveScale - height
|
||||
if (0 <= width || 0 <= height) {
|
||||
mMatrix.postScale(scaleFactor, scaleFactor, detector.focusX, detector.focusY)
|
||||
if (scaleFactor < 1) {
|
||||
|
@ -792,7 +792,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
||||
}
|
||||
|
||||
mRight = width * mSaveScale - width
|
||||
mBottom = mTextureView.height * mSaveScale - height
|
||||
mBottom = height * mSaveScale - height
|
||||
if (0 <= width || 0 <= height) {
|
||||
mMatrix.postScale(scaleFactor, scaleFactor, detector.focusX, detector.focusY)
|
||||
if (scaleFactor < 1) {
|
||||
|
Reference in New Issue
Block a user