From acc96c74a526c29ad3c604c766436ef0bece972f Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 10 Oct 2024 16:25:43 +0100 Subject: [PATCH] Format fix --- src/gameobjects/text/GetTextSize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/text/GetTextSize.js b/src/gameobjects/text/GetTextSize.js index 26d5b017d..782e9473f 100644 --- a/src/gameobjects/text/GetTextSize.js +++ b/src/gameobjects/text/GetTextSize.js @@ -48,7 +48,7 @@ var GetTextSize = function (text, size, lines) { var line = lines[i]; - for(var j=0; j< line.length; j++) + for (var j = 0; j < line.length; j++) { lineWidth += context.measureText(line[j]).width; }