Parcourir la source

Fix MangaController fast scroller position (#6090)

Ivan Iskandar il y a 3 ans
Parent
commit
bb06895145

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt

@@ -287,7 +287,7 @@ class MangaController :
 
             binding.fastScroller.doOnLayout { scroller ->
                 scroller.updateLayoutParams<ViewGroup.MarginLayoutParams> {
-                    topMargin = getMainAppBarHeight()
+                    topMargin += getMainAppBarHeight()
                 }
             }