Skip to content

Commit c706d07

Browse files
committed
fixed method naming
1 parent 38dc5e9 commit c706d07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ModSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace TechAdvancing
1010
public class Settings : ModSettings
1111
{
1212

13-
private static void drawText(Rect canvas, string Text, ref float drawpos, bool increaseDrawpos = true)
13+
private static void DrawText(Rect canvas, string Text, ref float drawpos, bool increaseDrawpos = true)
1414
{
1515
var descHeight = Verse.Text.CalcSize(Text).y; //Verse.Text.CalcHeight(descTR, Listing.ColumnSpacing);
1616
Rect drawCanvas = new Rect(canvas.x+200, canvas.y + drawpos, canvas.width, descHeight);
@@ -45,7 +45,7 @@ public static void DoSettingsWindowContents(Rect rect)
4545
else
4646
{
4747
GUI.contentColor = Color.red;
48-
drawText(rect,"TAcfgunavailable".Translate(),ref drawpos,true);
48+
DrawText(rect,"TAcfgunavailable".Translate(),ref drawpos,true);
4949
GUI.contentColor = defaultGuiColor;
5050
}
5151
}

0 commit comments

Comments
 (0)