Skip to content

Commit

Permalink
fix(itext_key_behavior.mixin.js): typo (#7816)
Browse files Browse the repository at this point in the history
Non ASCII character on line 19. Hyphen in padding-top was non standard
  • Loading branch information
milonic authored Mar 18, 2022
1 parent b2d6dd9 commit 65b3731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/itext_key_behavior.mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot
// https://bugs.chromium.org/p/chromium/issues/detail?id=870966
this.hiddenTextarea.style.cssText = 'position: absolute; top: ' + style.top +
'; left: ' + style.left + '; z-index: -999; opacity: 0; width: 1px; height: 1px; font-size: 1px;' +
' paddingーtop: ' + style.fontSize + ';';
' padding-top: ' + style.fontSize + ';';

if (this.hiddenTextareaContainer) {
this.hiddenTextareaContainer.appendChild(this.hiddenTextarea);
Expand Down

0 comments on commit 65b3731

Please sign in to comment.