Skip to content

Commit

Permalink
fix(IText): cursor animation regression
Browse files Browse the repository at this point in the history
introduced by #8547 breaking `Object#animate` signature
  • Loading branch information
ShaMan123 committed Jan 11, 2023
1 parent fa697ac commit b4a5851
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/mixins/itext_behavior.mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export abstract class ITextBehaviorMixin<
},
};

obj.animate('_currentCursorOpacity', targetOpacity, {
obj._animate('_currentCursorOpacity', targetOpacity, {
duration: duration,
onComplete: function () {
if (!tickState.isAborted) {
Expand Down

0 comments on commit b4a5851

Please sign in to comment.