@@ -25,6 +25,7 @@ import com.lambda.graphics.renderer.gui.font.core.LambdaAtlas.get
2525import com.lambda.graphics.renderer.gui.font.core.LambdaAtlas.height
2626import com.lambda.graphics.shader.Shader.Companion.shader
2727import com.lambda.graphics.texture.TextureOwner.bind
28+ import com.lambda.module.modules.client.ClickGui
2829import com.lambda.module.modules.client.LambdaMoji
2930import com.lambda.module.modules.client.RenderSettings
3031import com.lambda.util.math.MathUtils.toInt
@@ -59,7 +60,7 @@ object FontRenderer : AbstractGUIRenderer(VertexAttrib.Group.FONT, shader("font/
5960 text : String ,
6061 position : Vec2d = Vec2d .ZERO ,
6162 color : Color = Color .WHITE ,
62- scale : Double = 1.0 ,
63+ scale : Double = ClickGui .fontScale ,
6364 shadow : Boolean = true,
6465 parseEmoji : Boolean = LambdaMoji .isEnabled
6566 ) = render {
@@ -87,7 +88,7 @@ object FontRenderer : AbstractGUIRenderer(VertexAttrib.Group.FONT, shader("font/
8788 glyph : GlyphInfo ,
8889 position : Vec2d ,
8990 color : Color = Color .WHITE ,
90- scale : Double = 1.0
91+ scale : Double = ClickGui .fontScale,
9192 ) = render {
9293 shader[" u_FontTexture" ] = 0
9394 shader[" u_EmojiTexture" ] = 1
@@ -147,7 +148,7 @@ object FontRenderer : AbstractGUIRenderer(VertexAttrib.Group.FONT, shader("font/
147148 */
148149 fun getWidth (
149150 text : String ,
150- scale : Double = 1.0 ,
151+ scale : Double = ClickGui .fontScale ,
151152 parseEmoji : Boolean = LambdaMoji .isEnabled,
152153 ): Double {
153154 var width = 0.0
0 commit comments