Merge pull request #1604 from sorich87/hotfix/top-cursor-boundary-calculation

Use _getTopOffset to calculate top cursor boundary
This commit is contained in:
Juriy Zaytsev 2014-08-23 19:53:01 +02:00
commit 060a4f6b12

View file

@ -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);