Fix MangaController fast scroller position (#6090)
This commit is contained in:
parent
684965f3e5
commit
bb06895145
@ -287,7 +287,7 @@ class MangaController :
|
|||||||
|
|
||||||
binding.fastScroller.doOnLayout { scroller ->
|
binding.fastScroller.doOnLayout { scroller ->
|
||||||
scroller.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
scroller.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
||||||
topMargin = getMainAppBarHeight()
|
topMargin += getMainAppBarHeight()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user