diff options
| author | Michael <[email protected]> | 2017-07-06 18:25:19 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-07-06 18:25:19 -0400 |
| commit | ca339b2661ee565d55191d58ed40c2303f77c0b4 (patch) | |
| tree | 0554a0f3f1a4b08bf89a49001a89b37af3fa3e8d /ShiftOS.Frontend/GUI | |
| parent | 38774ba7930f9d6fa2111c8b71f1056125ab75b5 (diff) | |
| download | shiftos_thereturn-ca339b2661ee565d55191d58ed40c2303f77c0b4.tar.gz shiftos_thereturn-ca339b2661ee565d55191d58ed40c2303f77c0b4.tar.bz2 shiftos_thereturn-ca339b2661ee565d55191d58ed40c2303f77c0b4.zip | |
HEAVILY optimize the game
Diffstat (limited to 'ShiftOS.Frontend/GUI')
| -rw-r--r-- | ShiftOS.Frontend/GUI/Button.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.Frontend/GUI/Button.cs b/ShiftOS.Frontend/GUI/Button.cs index 0a0376c..c2e55b9 100644 --- a/ShiftOS.Frontend/GUI/Button.cs +++ b/ShiftOS.Frontend/GUI/Button.cs @@ -42,7 +42,7 @@ namespace ShiftOS.Frontend.GUI if (MouseLeftDown) bgCol = UIManager.SkinTextures["ButtonPressedColor"]; - gfx.DrawRectangle(0, 0, Width, Height, fgCol); + gfx.DrawRectangle(0, 0, Width, Height, UIManager.SkinTextures["ControlTextColor"]); gfx.DrawRectangle(1, 1, Width - 2, Height - 2, bgCol); var measure = gfx.MeasureString(Text, Font); |
