remove some trash

This commit is contained in:
GenZmeY 2021-05-27 03:24:25 +03:00
parent 897bbca273
commit 3ce911bcb3
2 changed files with 0 additions and 5 deletions

View File

@ -142,7 +142,6 @@ function RenderComboList( KFGUI_ComboSelector C );
function Font PickFont( out float Scaler, optional bool bNumbersOnly, optional bool bInfinite )
{
Scaler = GetFontScaler();
//Scaler = class'KFGameEngine'.static.GetKFFontScale();
if( bNumbersOnly )
return NumberFont;

View File

@ -230,15 +230,11 @@ function DrawTextShadowHVCenter(string Str, float XPos, float YPos, float BoxWid
Canvas.TextSize(Str, TextWidth, TextHeight, FontScalar, FontScalar);
//Canvas.SetPos(XPos + (BoxWidth - TextWidth)/2 , YPos);
//Canvas.DrawText(Str, , FontScalar, FontScalar);
Owner.CurrentStyle.DrawTextShadow(Str, XPos + (BoxWidth - TextWidth)/2 , YPos, 1, FontScalar);
}
function DrawTextShadowHLeftVCenter(string Str, float XPos, float YPos, float FontScalar)
{
//Canvas.SetPos(XPos, YPos);
//Canvas.DrawText(Str, , FontScalar, FontScalar);
Owner.CurrentStyle.DrawTextShadow(Str, XPos, YPos, 1, FontScalar);
}