aWeirdo 8 rokov pred
rodič
commit
6789f5d925

+ 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;