From 789152a98dcef82eb3826867af0c8e69d8a32cb5 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 10 Jun 2019 23:36:50 +0200 Subject: [PATCH] do not allow clicking on the Panorama button at fullscreen mode --- .../com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt | 1 + 1 file changed, 1 insertion(+) 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 571f361f7..370edeab5 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 @@ -654,6 +654,7 @@ class PhotoFragment : ViewPagerFragment() { if (mIsPanorama) { panorama_outline.animate().alpha(if (isFullscreen) 0f else 1f).start() + panorama_outline.isClickable = !isFullscreen } } }