Do not rely on options object in enterEditing #2

This commit is contained in:
GordoRank 2014-01-13 22:43:58 +00:00
parent ead81813bd
commit 2539c68cc8

View file

@ -142,7 +142,8 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot
if (this._isObjectMoved(options.e)) return;
if (this.selected) {
this.enterEditing(options);
this.setCursorByClick(options.e);
this.enterEditing();
this.initDelayedCursor(true);
}
});