From f8c09b947f3c3e4a151d943732073af34ac8748a Mon Sep 17 00:00:00 2001 From: gmasil <54176035+gmasil@users.noreply.github.com> Date: Fri, 25 Aug 2023 00:38:35 +0200 Subject: [PATCH] fix bug where static webp images will cause high CPU usage --- .../com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt index 84da27361..b4f3bc143 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt @@ -435,7 +435,6 @@ class PhotoFragment : ViewPagerFragment() { if (drawable.intrinsicWidth == 0) { loadWithGlide(path, addZoomableView) } else { - drawable.setLoopLimit(0) mView.gestures_view.setImageDrawable(drawable) } } else {