mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-28 17:24:42 +00:00
Merge pull request #1604 from sorich87/hotfix/top-cursor-boundary-calculation
Use _getTopOffset to calculate top cursor boundary
This commit is contained in:
commit
060a4f6b12
1 changed files with 1 additions and 1 deletions
|
|
@ -413,7 +413,7 @@
|
|||
// leftOffset/topOffset are offset from that left/top point of a text box
|
||||
|
||||
left = Math.round(this._getLeftOffset()),
|
||||
top = -this.height / 2,
|
||||
top = this._getTopOffset(),
|
||||
|
||||
offsets = this._getCursorBoundariesOffsets(
|
||||
chars, typeOfBoundaries, cursorLocation, textLines);
|
||||
|
|
|
|||
Loading…
Reference in a new issue