소스 검색

fine-tuning.

aWeirdo 8 년 전
부모
커밋
6789f5d925
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Materials/Textures/babylon.dynamicTexture.ts

+ 1 - 1
src/Materials/Textures/babylon.dynamicTexture.ts

@@ -81,7 +81,7 @@ module BABYLON {
             }
             if (y === null) {
                 var fontSize = parseInt((font.replace(/\D/g,'')));;
-                y = (size.height /2) + (fontSize/4);
+                y = (size.height /2) + (fontSize/3.65);
             }
             
             this._context.fillStyle = color;