This commit is contained in:
GenZmeY 2021-05-16 23:29:34 +03:00
parent 13c61e140d
commit f738181fa5

View File

@ -233,7 +233,7 @@ function DrawTextWCenter(string Str, float XPos, float YPos, float BoxWidth, flo
//Canvas.SetPos(XPos + (BoxWidth - TextWidth)/2 , YPos); //Canvas.SetPos(XPos + (BoxWidth - TextWidth)/2 , YPos);
//Canvas.DrawText(Str, , FontScalar, FontScalar); //Canvas.DrawText(Str, , FontScalar, FontScalar);
Owner.CurrentStyle.DrawTextShadow(Str, XPos, YPos, 1, FontScalar); Owner.CurrentStyle.DrawTextShadow(Str, XPos + (BoxWidth - TextWidth)/2 , YPos, 1, FontScalar);
} }
function DrawTextWLeft(string Str, float XPos, float YPos, float FontScalar) function DrawTextWLeft(string Str, float XPos, float YPos, float FontScalar)