Merge pull request #2278 from sapics/fix-undefined-function

fix undefined function call
This commit is contained in:
Juriy Zaytsev 2015-06-16 13:01:07 -04:00
commit ebd2135b08

View file

@ -162,7 +162,7 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot
* @return {Number} Index of a character
*/
getSelectionStartFromPointer: function(e) {
var mouseOffset = this._getLocalPointer(e),
var mouseOffset = this.getLocalPointer(e),
prevWidth = 0,
width = 0,
height = 0,