diff options
| author | Michael <[email protected]> | 2017-08-09 14:17:51 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-08-09 14:17:51 -0400 |
| commit | cc6fc6c0088ee3b81437254cbaf6241f91b3d95c (patch) | |
| tree | 7cee68e5099db5c35d6872ab47576607835f2976 /ShiftOS.Frontend/Desktop/WindowManager.cs | |
| parent | 72fe64f28d02cf41aa90b636608421e9b86ab896 (diff) | |
| download | shiftos_thereturn-monogame.tar.gz shiftos_thereturn-monogame.tar.bz2 shiftos_thereturn-monogame.zip | |
stuffmonogame
Diffstat (limited to 'ShiftOS.Frontend/Desktop/WindowManager.cs')
| -rw-r--r-- | ShiftOS.Frontend/Desktop/WindowManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.Frontend/Desktop/WindowManager.cs b/ShiftOS.Frontend/Desktop/WindowManager.cs index b130b03..60f9e26 100644 --- a/ShiftOS.Frontend/Desktop/WindowManager.cs +++ b/ShiftOS.Frontend/Desktop/WindowManager.cs @@ -348,7 +348,7 @@ namespace ShiftOS.Frontend.Desktop gfx.DrawRectangle(titlebarleft, 0, titlebarwidth, titleheight, UIManager.SkinTextures["titlebar"]); } //Now we draw the title text. - var textMeasure = gfx.MeasureString(Text, titlefont); + var textMeasure = GraphicsContext.MeasureString(Text, titlefont); PointF textloc; if (titletextcentered) textloc = new PointF((titlebarwidth - textMeasure.X) / 2, |
