diff options
| author | Michael <[email protected]> | 2017-02-19 19:23:11 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-19 19:23:11 -0500 |
| commit | 55c1fbeaa215fd2b2e65c51d0cd2aae53892f135 (patch) | |
| tree | 3954b81c18253b415f1caf66d8d3a5fb55fdb755 /ShiftOS.WinForms/WindowBorder.cs | |
| parent | 762bd11cdf023e5340197b1a1438b5212f360a7d (diff) | |
| download | shiftos_thereturn-55c1fbeaa215fd2b2e65c51d0cd2aae53892f135.tar.gz shiftos_thereturn-55c1fbeaa215fd2b2e65c51d0cd2aae53892f135.tar.bz2 shiftos_thereturn-55c1fbeaa215fd2b2e65c51d0cd2aae53892f135.zip | |
Make title text back color transparent
Diffstat (limited to 'ShiftOS.WinForms/WindowBorder.cs')
| -rw-r--r-- | ShiftOS.WinForms/WindowBorder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/WindowBorder.cs b/ShiftOS.WinForms/WindowBorder.cs index e6d972e..0308f8a 100644 --- a/ShiftOS.WinForms/WindowBorder.cs +++ b/ShiftOS.WinForms/WindowBorder.cs @@ -262,7 +262,7 @@ namespace ShiftOS.WinForms pnltitleright.BackgroundImageLayout = GetImageLayout("titleright"); pnltitle.BackgroundImageLayout = GetImageLayout("titlebar"); //RETARD ALERT. WHY WASN'T THIS THERE WHEN IMAGELAYOUTS WERE FIRST IMPLEMENTED? - lbtitletext.BackColor = LoadedSkin.TitleBackgroundColor; + lbtitletext.BackColor = (pnltitle.BackgroundImage != null) ? Color.Transparent : LoadedSkin.TitleBackgroundColor; lbtitletext.ForeColor = LoadedSkin.TitleTextColor; lbtitletext.Font = LoadedSkin.TitleFont; |
