aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/WindowBorder.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-19 19:23:11 -0500
committerMichael <[email protected]>2017-02-19 19:23:11 -0500
commit55c1fbeaa215fd2b2e65c51d0cd2aae53892f135 (patch)
tree3954b81c18253b415f1caf66d8d3a5fb55fdb755 /ShiftOS.WinForms/WindowBorder.cs
parent762bd11cdf023e5340197b1a1438b5212f360a7d (diff)
downloadshiftos_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.cs2
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;