dash hud tint
This commit is contained in:
@@ -26,8 +26,8 @@ class MotionEngine {
|
||||
return target;
|
||||
}
|
||||
|
||||
// a = {o-object, a-action, t-time, f-finish event, d-delay, m-mode, r-repeat,
|
||||
// rd-repeat the delay, rf-reset on finish}
|
||||
// a = {o-object, a-attributes, t-time, f-finish event, d-delay, m-mode, r-repeat,
|
||||
// rd-repeat the delay, rf-reset on finish, u-on update}
|
||||
this.add = function (a) {
|
||||
a = Array.isArray(a) ? a : [a];
|
||||
a.forEach(e => {
|
||||
@@ -84,6 +84,7 @@ class MotionEngine {
|
||||
}
|
||||
}
|
||||
calcValues(e.o, e.a, e.iv, e.ct / e.t, e.m || 'value');
|
||||
e.u?.();
|
||||
if (e.ct == e.t && e.r) {
|
||||
e.ct = e.m == 'offset' ? undefined : 0;
|
||||
if (e.rd) {
|
||||
|
||||
Reference in New Issue
Block a user