Fix MangaController fast scroller position (#6090)
(cherry picked from commit bb06895145e0da0e217bf6dd953d9ae4a7f612f2)
This commit is contained in:
parent
01e4697a04
commit
28b57f4f42
@ -355,7 +355,7 @@ class MangaController :
|
|||||||
|
|
||||||
binding.fastScroller.doOnLayout { scroller ->
|
binding.fastScroller.doOnLayout { scroller ->
|
||||||
scroller.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
scroller.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
||||||
topMargin = getMainAppBarHeight()
|
topMargin += getMainAppBarHeight()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user