From 34a3cb35a45e36a956b276e3eee53bd21155ea4b Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Wed, 6 Sep 2023 22:08:24 +0100 Subject: [PATCH] fix invalid initial value in animated properties --- core/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.js b/core/core.js index 04c05d15..298f4e9b 100644 --- a/core/core.js +++ b/core/core.js @@ -728,7 +728,7 @@ exports.addProperty = function(proto, type, name, defaultValue) { complete() } else { storage.interpolatedValue = convert(animation.interpolate(dst, src, t)) - storage.callOnChanged(self, name, storage.getCurrentValue(getDefaultValue(this)), src) + storage.callOnChanged(self, name, storage.getCurrentValue(getDefaultValue(self)), src) storage.frameRequest = backend.requestAnimationFrame(nextFrame) } })