1
0
mirror of https://github.com/aNNiMON/HotaruFX.git synced 2024-09-19 14:14:21 +03:00

Add alias for discrete interpolator

This commit is contained in:
Victor 2017-09-09 19:38:18 +03:00
parent ef8aa0d364
commit 2edd05638e

View File

@ -22,6 +22,7 @@ public class InterpolatorsBundle implements Bundle {
public void load(Context context) {
Bundle.super.load(context);
context.variables().put("linear", new InterpolatorValue(Interpolator.LINEAR));
context.variables().put("hold", new InterpolatorValue(Interpolator.DISCRETE));
context.variables().put("discrete", new InterpolatorValue(Interpolator.DISCRETE));
context.variables().put("easeIn", new InterpolatorValue(Interpolator.EASE_IN));
context.variables().put("easeOut", new InterpolatorValue(Interpolator.EASE_OUT));