Fix unicode space char (#4224)

This commit is contained in:
ncou 2017-08-18 14:25:52 +02:00 committed by Andrea Bogazzi
parent 9fc678825e
commit e9a5d0000e

View file

@ -82,7 +82,7 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot
* @param {Event} e Event object
*/
onKeyDown: function(e) {
if (!this.isEditing || this.inCompositionMode) {
if (!this.isEditing || this.inCompositionMode) {
return;
}
if (e.keyCode in this.keysMap) {