소스 검색

Update button.ts

aWeirdo 7 년 전
부모
커밋
0f20e257ac
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gui/src/controls/button.ts

+ 1 - 1
gui/src/controls/button.ts

@@ -144,7 +144,7 @@ module BABYLON.GUI {
             var textBlock = new BABYLON.GUI.TextBlock(name + "_button", text);
             textBlock.textWrapping = true;
             textBlock.zIndex = 10; 
-		    textBlock.textHorizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_CENTER;
+            textBlock.textHorizontalAlignment = BABYLON.GUI.Control.HORIZONTAL_ALIGNMENT_CENTER;
             result.addControl(textBlock);   
 
             // Adding image