mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 20:40:38 +01:00
Merge pull request #2954 from gmasil/fix-static-webp-produce-high-cpu-usage
fix bug where static webp images will cause high CPU usage
This commit is contained in:
commit
c3778e36c6
@ -435,7 +435,6 @@ class PhotoFragment : ViewPagerFragment() {
|
||||
if (drawable.intrinsicWidth == 0) {
|
||||
loadWithGlide(path, addZoomableView)
|
||||
} else {
|
||||
drawable.setLoopLimit(0)
|
||||
mView.gestures_view.setImageDrawable(drawable)
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user