mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-10 06:44:44 +00:00
Update itext_click_behavior.mixin.js
This commit is contained in:
parent
dd769a98cf
commit
d659f16a44
1 changed files with 2 additions and 1 deletions
|
|
@ -219,8 +219,9 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot
|
|||
}
|
||||
|
||||
if (mouseOffset.y < height) {
|
||||
//this happens just on end of lines.
|
||||
return this._getNewSelectionStartFromOffset(
|
||||
mouseOffset, prevWidth, width, charIndex + i, jlen);
|
||||
mouseOffset, prevWidth, width, charIndex + i -1, jlen);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue