Animations where elements move from one place to another have the same duration as any other animation in JSAV. Therefore, when two elements that are beside each other are swapped, they move very slowly. Similarly, when two elements on each end of an array are swapped, they move very fast.
It would be nice if the average moving speed of these animations were equal instead of their durations.
Animations where elements move from one place to another have the same duration as any other animation in JSAV. Therefore, when two elements that are beside each other are swapped, they move very slowly. Similarly, when two elements on each end of an array are swapped, they move very fast.
It would be nice if the average moving speed of these animations were equal instead of their durations.