Skip to content

Commit

Permalink
fix invalid initial value in animated properties
Browse files Browse the repository at this point in the history
  • Loading branch information
whoozle committed Sep 6, 2023
1 parent de531e9 commit 34a3cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
})
Expand Down

0 comments on commit 34a3cb3

Please sign in to comment.