From bb32d78db170a9356ab0bf0124ff846748de9647 Mon Sep 17 00:00:00 2001 From: inssein Date: Wed, 27 May 2015 14:18:52 -0700 Subject: [PATCH] adhere to 120 character limit --- src/shapes/textbox.class.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/shapes/textbox.class.js b/src/shapes/textbox.class.js index cb7fd463..9304b8bc 100644 --- a/src/shapes/textbox.class.js +++ b/src/shapes/textbox.class.js @@ -258,8 +258,9 @@ } if (typeOfBoundaries === 'cursor') { - topOffset += (1 - this._fontSizeFraction) * this._getHeightOfLine(this.ctx, cursorLocation.lineIndex) / this.lineHeight - - this.getCurrentCharFontSize(cursorLocation.lineIndex, cursorLocation.charIndex) * (1 - this._fontSizeFraction); + topOffset += (1 - this._fontSizeFraction) * this._getHeightOfLine(this.ctx, cursorLocation.lineIndex) + / this.lineHeight - this.getCurrentCharFontSize(cursorLocation.lineIndex, cursorLocation.charIndex) + * (1 - this._fontSizeFraction); } return {