@multiplekex/shallot 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -206,7 +206,7 @@ export function ensureResolved(state: State, tweenEid: number): void {
|
|
|
206
206
|
const elapsed = Tween.elapsed[tweenEid];
|
|
207
207
|
const duration = Tween.duration[tweenEid];
|
|
208
208
|
|
|
209
|
-
if (elapsed >= duration) return;
|
|
209
|
+
if (duration > 0 && elapsed >= duration) return;
|
|
210
210
|
|
|
211
211
|
const targetEid = state.getFirstRelationTarget(tweenEid, TweenTarget);
|
|
212
212
|
const binding = getFieldAccessor(tweenEid);
|