diff --git a/src/mixins/itext_click_behavior.mixin.js b/src/mixins/itext_click_behavior.mixin.js index e654e5d4b12..8bacf4a6f51 100644 --- a/src/mixins/itext_click_behavior.mixin.js +++ b/src/mixins/itext_click_behavior.mixin.js @@ -181,12 +181,6 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot width = lineLeftOffset * this.scaleX; - if (this.flipX) { - // when oject is horizontally flipped we reverse chars - // we should reverse also style or do not revers at all. - this._textLines[i] = line.reverse().join(''); - } - for (var j = 0, jlen = line.length; j < jlen; j++) { prevWidth = width; diff --git a/src/shapes/image.class.js b/src/shapes/image.class.js index a19a4c8344a..02998d8f767 100644 --- a/src/shapes/image.class.js +++ b/src/shapes/image.class.js @@ -30,7 +30,7 @@ type: 'image', /** - * crossOrigin value (one of "", "anonymous", "allow-credentials") + * crossOrigin value (one of "", "anonymous", "use-credentials") * @see https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes * @type String * @default