mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-25 15:52:35 +01:00
fix a glitch after rotating the device with screen off
This commit is contained in:
parent
3f18ae09c4
commit
0b3c900a02
@ -90,7 +90,7 @@ dependencies {
|
||||
implementation 'info.androidhive:imagefilters:1.0.7'
|
||||
implementation 'com.caverock:androidsvg-aar:1.4'
|
||||
implementation 'com.github.tibbi:gestureviews:a8e8fa8d27'
|
||||
implementation 'com.github.tibbi:subsampling-scale-image-view:65ff7870ed'
|
||||
implementation 'com.github.tibbi:subsampling-scale-image-view:966657ff5d'
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
||||
implementation 'com.github.penfeizhou.android.animation:awebp:2.17.0'
|
||||
implementation 'com.github.penfeizhou.android.animation:apng:2.17.0'
|
||||
|
@ -228,6 +228,10 @@ class PhotoFragment : ViewPagerFragment() {
|
||||
loadImage()
|
||||
} else if (mMedium.isGIF()) {
|
||||
loadGif()
|
||||
} else if (mIsSubsamplingVisible) {
|
||||
mView.subsampling_view.onGlobalLayout {
|
||||
mView.subsampling_view.resetView()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user