|
@@ -178,10 +178,13 @@ namespace Beefy.theme.dark
|
|
|
g.DrawBox(DarkTheme.sDarkTheme.GetImage(DarkTheme.ImageIdx.Menu), 0, 0, mWidth, mHeight);
|
|
|
|
|
|
g.SetFont(mFont);
|
|
|
- if (mIsClipped)
|
|
|
- g.DrawString(mText, GS!(8), GS!(5), .Left, mWidth - GS!(16), .Ellipsis);
|
|
|
- else
|
|
|
- g.DrawString(mText, 0, GS!(5), .Centered, mWidth);
|
|
|
+ using (g.PushColor(DarkTheme.COLOR_TEXT))
|
|
|
+ {
|
|
|
+ if (mIsClipped)
|
|
|
+ g.DrawString(mText, GS!(8), GS!(5), .Left, mWidth - GS!(16), .Ellipsis);
|
|
|
+ else
|
|
|
+ g.DrawString(mText, 0, GS!(5), .Centered, mWidth);
|
|
|
+ }
|
|
|
|
|
|
if (mAllowResize)
|
|
|
g.Draw(DarkTheme.sDarkTheme.GetImage(DarkTheme.ImageIdx.ResizeGrabber), mWidth - GS!(22), mHeight - GS!(22));
|