Merge pull request #1807 from Bnyro/master

use a different sponsorblock color
This commit is contained in:
Bnyro 2022-11-11 18:48:49 +01:00 committed by GitHub
commit 86a1a7c3df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,12 +44,12 @@ class MarkableTimeBar(
canvas.drawRect( canvas.drawRect(
Rect( Rect(
(it.segment.first() + HORIZONTAL_OFFSET).toLength(), (it.segment.first() + HORIZONTAL_OFFSET).toLength(),
marginY, marginY - 1,
(it.segment.last() + HORIZONTAL_OFFSET).toLength(), (it.segment.last() + HORIZONTAL_OFFSET).toLength(),
canvas.height - marginY canvas.height - marginY
), ),
Paint().apply { Paint().apply {
color = ThemeHelper.getThemeColor(context, R.attr.colorError) color = ThemeHelper.getThemeColor(context, R.attr.colorOnSecondary)
} }
) )
} }