Browse Source

Code identation

Tentone 8 years ago
parent
commit
b6ff1f136c
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/extras/core/Font.js

+ 2 - 4
src/extras/core/Font.js

@@ -33,13 +33,11 @@ Object.assign( Font.prototype, {
 
 
 				var char = chars[ i ];
 				var char = chars[ i ];
 
 
-				if(char === "\n")
-				{
+				if(char === "\n") {
 					offsetX = 0;
 					offsetX = 0;
 					offsetY -= line_height;
 					offsetY -= line_height;
 				}
 				}
-				else
-				{
+				else {
 					var ret = createPath( char, scale, offsetX, offsetY );
 					var ret = createPath( char, scale, offsetX, offsetY );
 					offsetX += ret.offsetX;
 					offsetX += ret.offsetX;
 					paths.push( ret.path );
 					paths.push( ret.path );