mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
fix forward btn
This commit is contained in:
parent
d354c2b3cc
commit
ec306f83dc
@ -227,7 +227,7 @@ internal class CustomExoPlayerView(
|
|||||||
player?.seekTo((player?.currentPosition ?: 0L) - seekIncrement)
|
player?.seekTo((player?.currentPosition ?: 0L) - seekIncrement)
|
||||||
|
|
||||||
// show the rewind button
|
// show the rewind button
|
||||||
doubleTapOverlayBinding?.rewindBTN.run {
|
doubleTapOverlayBinding?.rewindBTN.apply {
|
||||||
this!!.visibility = View.VISIBLE
|
this!!.visibility = View.VISIBLE
|
||||||
// clear previous animation
|
// clear previous animation
|
||||||
this.animate().rotation(0F).setDuration(0).start()
|
this.animate().rotation(0F).setDuration(0).start()
|
||||||
@ -252,9 +252,9 @@ internal class CustomExoPlayerView(
|
|||||||
|
|
||||||
// show the forward button
|
// show the forward button
|
||||||
doubleTapOverlayBinding?.forwardBTN.apply {
|
doubleTapOverlayBinding?.forwardBTN.apply {
|
||||||
visibility = View.VISIBLE
|
this!!.visibility = View.VISIBLE
|
||||||
// clear previous animation
|
// clear previous animation
|
||||||
this!!.animate().rotation(0F).setDuration(0).start()
|
this.animate().rotation(0F).setDuration(0).start()
|
||||||
// start new animation
|
// start new animation
|
||||||
this.animate()
|
this.animate()
|
||||||
.rotation(30F)
|
.rotation(30F)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user