mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-29 01:29:02 +03:00
Aniskip timestamp patch (#934)
This commit is contained in:
parent
fb8149d1f6
commit
af3a0e6937
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class CustomSeekBar : AppCompatSeekBar {
|
||||||
paint.color = context.getResourceColor(R.attr.colorTertiaryContainer)
|
paint.color = context.getResourceColor(R.attr.colorTertiaryContainer)
|
||||||
paint.alpha = 255
|
paint.alpha = 255
|
||||||
// Use the thumb height for consistency
|
// Use the thumb height for consistency
|
||||||
paint.strokeWidth = thumb.intrinsicHeight / 8F
|
paint.strokeWidth = (thumb?.intrinsicHeight ?: thumb?.intrinsicWidth)?.div(8F) ?: 2.2F
|
||||||
}
|
}
|
||||||
|
|
||||||
fun setStamps(newStamps: List<Stamp>?) {
|
fun setStamps(newStamps: List<Stamp>?) {
|
||||||
|
|
Loading…
Reference in a new issue