From 226eacdfcb8ad527dba551d6b7fab429fe1fa645 Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 24 Apr 2020 18:18:34 -0400 Subject: [PATCH] Fixed elevation issue when going into manga details --- .../java/eu/kanade/tachiyomi/util/view/ControllerExtensions.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/view/ControllerExtensions.kt b/app/src/main/java/eu/kanade/tachiyomi/util/view/ControllerExtensions.kt index 210ecc4080..f85aa9f2d0 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/view/ControllerExtensions.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/view/ControllerExtensions.kt @@ -108,6 +108,8 @@ fun Controller.scrollViewWith( super.onChangeStart(controller, changeHandler, changeType) if (changeType.isEnter) elevateFunc(elevate) + else + elevationAnim?.cancel() } }) elevateFunc(recycler.canScrollVertically(-1))