Fixed elevation issue when going into manga details
This commit is contained in:
parent
9586b564ed
commit
226eacdfcb
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ fun Controller.scrollViewWith(
|
|||
super.onChangeStart(controller, changeHandler, changeType)
|
||||
if (changeType.isEnter)
|
||||
elevateFunc(elevate)
|
||||
else
|
||||
elevationAnim?.cancel()
|
||||
}
|
||||
})
|
||||
elevateFunc(recycler.canScrollVertically(-1))
|
||||
|
|
Reference in a new issue