mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 16:26:29 +03:00
fix(aniskip/seekbar): Show stamps and increase thumb size (#1087)
This commit is contained in:
parent
ed6744f768
commit
15c04b48ed
2 changed files with 2 additions and 2 deletions
|
@ -1432,7 +1432,7 @@ class PlayerActivity : BaseActivity() {
|
|||
// aniSkip stuff
|
||||
waitingAniSkip = playerPreferences.waitingTimeAniSkip().get()
|
||||
runBlocking {
|
||||
if (!aniSkipEnable) {
|
||||
if (aniSkipEnable) {
|
||||
aniSkipInterval = viewModel.aniSkipResponse(player.duration)
|
||||
aniSkipInterval?.let {
|
||||
aniskipStamps = it
|
||||
|
|
|
@ -72,7 +72,7 @@ class Seekbar(
|
|||
val interactionSource = remember { MutableInteractionSource() }
|
||||
val isDragging by interactionSource.collectIsDraggedAsState()
|
||||
val gap by animateDpAsState(if (isDragging) 5.dp else 2.dp, label = "gap")
|
||||
val thumbRadius by animateDpAsState(if (isDragging) 8.dp else 4.dp, label = "thumbRadius")
|
||||
val thumbRadius by animateDpAsState(if (isDragging) 10.dp else 8.dp, label = "thumbRadius")
|
||||
val trackHeight by animateDpAsState(targetValue = if (isDragging) 6.dp else 4.dp, label = "trackHeight")
|
||||
return Seeker(
|
||||
value = value,
|
||||
|
|
Loading…
Reference in a new issue