scroll to top padding fixed
This commit is contained in:
parent
29c6863b00
commit
0aa95889aa
2 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,7 @@ open class MangaReadFragment : Fragment(), ScanlatorSelectionListener {
|
|||
|
||||
val position = gridLayoutManager.findFirstVisibleItemPosition()
|
||||
if (position > 2) {
|
||||
binding.ScrollTop.translationY = -navBarHeight.toFloat()
|
||||
binding.ScrollTop.visibility = View.VISIBLE
|
||||
} else {
|
||||
binding.ScrollTop.visibility = View.GONE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue