Skip to content

Commit

Permalink
Fixed Scrubbing with FakeWaveForm
Browse files Browse the repository at this point in the history
- the play time did not get updated, if the audio bar was set to Fake Wave Form and the position is changed by "scrubbing"
  • Loading branch information
twistios committed Nov 22, 2024
1 parent 24e5da8 commit 9f1fddb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ fun GetSeekBar(
waveInteraction = {
scrubbingPosition = (it.value * duration.toFloat()).toLong()
binder.player.seekTo(scrubbingPosition!!)
scrubbingPosition = null
},
modifier = Modifier
.height(40.dp)
Expand Down

0 comments on commit 9f1fddb

Please sign in to comment.