diff --git a/CHANGELOG.md b/CHANGELOG.md index 14c4a7934a7..952ce09e2bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [next] +- fix(IText): cursor animation regression introduced by #8547 \- chore(TS): Add declare in front of properties that are type definitions. [#8574](https://github.com/fabricjs/fabric.js/pull/8574) - refactor(Animation): BREAKING: Animation api reduction and semplification (byValue is removed, '+=' syntax is removed, callbacks fired 100%) [#8547](https://github.com/fabricjs/fabric.js/pull/8547) - feat(PolyControl): modify the shape of a poly with control points [#8556](https://github.com/fabricjs/fabric.js/pull/8556) diff --git a/src/mixins/itext_behavior.mixin.ts b/src/mixins/itext_behavior.mixin.ts index 328f188eaba..c55d8ad7ee7 100644 --- a/src/mixins/itext_behavior.mixin.ts +++ b/src/mixins/itext_behavior.mixin.ts @@ -193,7 +193,7 @@ export abstract class ITextBehaviorMixin< }, }; - obj.animate('_currentCursorOpacity', targetOpacity, { + obj._animate('_currentCursorOpacity', targetOpacity, { duration: duration, onComplete: function () { if (!tickState.isAborted) {