aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/MainMenu.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-08-09 14:17:51 -0400
committerMichael <[email protected]>2017-08-09 14:17:51 -0400
commitcc6fc6c0088ee3b81437254cbaf6241f91b3d95c (patch)
tree7cee68e5099db5c35d6872ab47576607835f2976 /ShiftOS.Frontend/MainMenu.cs
parent72fe64f28d02cf41aa90b636608421e9b86ab896 (diff)
downloadshiftos_thereturn-monogame.tar.gz
shiftos_thereturn-monogame.tar.bz2
shiftos_thereturn-monogame.zip
Diffstat (limited to 'ShiftOS.Frontend/MainMenu.cs')
-rw-r--r--ShiftOS.Frontend/MainMenu.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.Frontend/MainMenu.cs b/ShiftOS.Frontend/MainMenu.cs
index db6ece9..361e425 100644
--- a/ShiftOS.Frontend/MainMenu.cs
+++ b/ShiftOS.Frontend/MainMenu.cs
@@ -333,7 +333,7 @@ namespace ShiftOS.Frontend
gfx.DrawRectangle(0, 0, Width, Height, Color.Lerp(_redbg, _bluebg, _bglerp));
gfx.DrawRectangle(0, 0, Width / 4, Height, Color.White * 0.35F);
- var measure = gfx.MeasureString(_tipText, _campaign.Font, (Width / 4) - 30);
+ var measure = GraphicsContext.MeasureString(_tipText, _campaign.Font, (Width / 4) - 30);
int _height = (Height - (int)measure.Y) - 30;
gfx.DrawString(_tipText, 30, _height, Color.White * _tipFade, _campaign.Font, (Width / 4) - 30);
}