Aniskip timestamp patch (#934)

This commit is contained in:
Samfun75 2023-03-10 12:51:15 +03:00 committed by GitHub
parent fb8149d1f6
commit af3a0e6937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ class CustomSeekBar : AppCompatSeekBar {
paint.color = context.getResourceColor(R.attr.colorTertiaryContainer)
paint.alpha = 255
// 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>?) {