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:
Tibor Kaputa 2023-08-25 09:52:11 +02:00 committed by GitHub
commit c3778e36c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -435,7 +435,6 @@ class PhotoFragment : ViewPagerFragment() {
if (drawable.intrinsicWidth == 0) {
loadWithGlide(path, addZoomableView)
} else {
drawable.setLoopLimit(0)
mView.gestures_view.setImageDrawable(drawable)
}
} else {