Re: RFR: 8241582: Infinite animation does not start from the end when started with a negative rate

2020-04-22 Thread Nir Lisker
On Wed, 22 Apr 2020 00:08:05 GMT, Kevin Rushforth wrote: >> ### Cause >> >> `Animation#jumpTo(Duration)` does not handle `Duration.INDEFINITE` properly. >> This causes >> `InfiniteClipEnvelope#jumpTo(long)` to receive an erroneous value and start >> the animation not from the end, depending

Re: RFR: 8241582: Infinite animation does not start from the end when started with a negative rate

2020-04-21 Thread Kevin Rushforth
On Fri, 10 Apr 2020 06:31:39 GMT, Nir Lisker wrote: > ### Cause > > `Animation#jumpTo(Duration)` does not handle `Duration.INDEFINITE` properly. > This causes > `InfiniteClipEnvelope#jumpTo(long)` to receive an erroneous value and start > the animation not from the end, depending > on the

Re: RFR: 8241582: Infinite animation does not start from the end when started with a negative rate

2020-04-16 Thread Ambarish Rapte
On Fri, 10 Apr 2020 06:31:39 GMT, Nir Lisker wrote: > ### Cause > > `Animation#jumpTo(Duration)` does not handle `Duration.INDEFINITE` properly. > This causes > `InfiniteClipEnvelope#jumpTo(long)` to receive an erroneous value and start > the animation not from the end, depending > on the

RFR: 8241582: Infinite animation does not start from the end when started with a negative rate

2020-04-10 Thread Nir Lisker
### Cause `Animation#jumpTo(Duration)` does not handle `Duration.INDEFINITE` properly. This causes `InfiniteClipEnvelope#jumpTo(long)` to receive an erroneous value and start the animation not from the end, depending on the modulo calculation. ### Fix For infinite cycles, use the