mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 03:55:06 +01:00
Fixed offset in scroll to category header
This commit is contained in:
parent
1c9cb7644c
commit
04283970ca
@ -758,7 +758,7 @@ class LibraryController(
|
|||||||
headerPosition, (when {
|
headerPosition, (when {
|
||||||
headerPosition == 0 -> 0
|
headerPosition == 0 -> 0
|
||||||
previousHeader?.category?.isHidden == true -> (-3).dpToPx
|
previousHeader?.category?.isHidden == true -> (-3).dpToPx
|
||||||
else -> (-32).dpToPx
|
else -> (-30).dpToPx
|
||||||
}) + appbarOffset
|
}) + appbarOffset
|
||||||
)
|
)
|
||||||
recycler.suppressLayout(false)
|
recycler.suppressLayout(false)
|
||||||
|
Loading…
Reference in New Issue
Block a user