Fixed an issue with BlendableAction.setTransitionLength()... (#1205)

...which was not setting new length to transition tween and causing the new length to have no effect.
This commit is contained in:
Ali-RS 2019-10-23 13:43:56 +03:30 committed by GitHub
parent 5c75af1d38
commit 3b8665fe93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,7 @@ public abstract class BlendableAction extends Action {
public void setTransitionLength(double transitionLength) {
this.transitionLength = transitionLength;
this.transition.setLength(transitionLength);
}
protected float getTransitionWeight() {