From 4843a61a843b030ac821dd5c41a65d467bd1993f Mon Sep 17 00:00:00 2001 From: inssein Date: Wed, 3 Jun 2015 17:07:42 -0700 Subject: [PATCH] need to figure out how to get phpstorm to auto format these mistakes --- src/shapes/textbox.class.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shapes/textbox.class.js b/src/shapes/textbox.class.js index 073d9d4a..0cb13641 100644 --- a/src/shapes/textbox.class.js +++ b/src/shapes/textbox.class.js @@ -113,7 +113,8 @@ ctx.save(); width += this._applyCharStylesGetWidth(ctx, text[i], lineIndex, i, decl); ctx.restore(); - } else { + } + else { width += this._applyCharStylesGetWidth(ctx, text[i], lineIndex, i); } }