Skip to content

Commit

Permalink
fix(): block enterEditing after endCurrentTransform (#9513)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 authored Nov 30, 2023
1 parent 7c44efb commit 7d9f631
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [next]

- fix(): block `enterEditing` after `endCurrentTransform` [#9513](https://github.com/fabricjs/fabric.js/pull/9513)
- fix(): transferring object between active selections, expose `FabricObject#parent`, rm `isActiveSelection` [#8951](https://github.com/fabricjs/fabric.js/pull/8951)
**BREAKING beta**:
- rm(): `getParent` => `FabricObject#parent`
- refactor(): Layout Manager [#9152](https://github.com/fabricjs/fabric.js/pull/9152)
- refactor(): transferring object between active selections, expose `FabricObject#parent`, rm `isActiveSelection` [#8951](https://github.com/fabricjs/fabric.js/pull/8951)
- refactor(): **BREAKING beta** `getParent` => `FabricObject#parent` [#8951](https://github.com/fabricjs/fabric.js/pull/8951)
Expand Down
2 changes: 1 addition & 1 deletion src/shapes/IText/ITextClickBehavior.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export abstract class ITextClickBehavior<
this.__lastLastClickTime = this.__lastClickTime;
this.__lastClickTime = this.__newClickTime;
this.__lastPointer = newPointer;
this.__lastSelected = this.selected;
this.__lastSelected = this.selected && !this.getActiveControl();
}

isTripleClick(newPointer: XY) {
Expand Down

0 comments on commit 7d9f631

Please sign in to comment.