aboutsummaryrefslogtreecommitdiff
path: root/source/ShiftUI/Theming/ThemeSkinnable.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-07-20 10:04:18 -0400
committerMichaelTheShifter <[email protected]>2016-07-20 10:04:18 -0400
commit995b1404e0966950f53447383da4c5f91bd2cdb0 (patch)
treef0b325344c3f2c7cb7895cc67fa81fae421ffbb0 /source/ShiftUI/Theming/ThemeSkinnable.cs
parentd40fed5ce2bc806a91245adb18039634eac13ed0 (diff)
downloadshiftos-c--995b1404e0966950f53447383da4c5f91bd2cdb0.tar.gz
shiftos-c--995b1404e0966950f53447383da4c5f91bd2cdb0.tar.bz2
shiftos-c--995b1404e0966950f53447383da4c5f91bd2cdb0.zip
Fix window border bug, add skinnable VisualStyleBorders
Diffstat (limited to 'source/ShiftUI/Theming/ThemeSkinnable.cs')
-rw-r--r--source/ShiftUI/Theming/ThemeSkinnable.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ShiftUI/Theming/ThemeSkinnable.cs b/source/ShiftUI/Theming/ThemeSkinnable.cs
index bf8b56f..ede3aa9 100644
--- a/source/ShiftUI/Theming/ThemeSkinnable.cs
+++ b/source/ShiftUI/Theming/ThemeSkinnable.cs
@@ -7935,7 +7935,7 @@ namespace ShiftUI
public override void CPDrawVisualStyleBorder(Graphics graphics, Rectangle bounds)
{
- graphics.DrawRectangle(SystemPens.ControlDarkDark, bounds);
+ graphics.DrawRectangle(new System.Drawing.Pen(new SolidBrush(Application.CurrentSkin.VisualStyleBorderColor), Application.CurrentSkin.VisualStyleBorderWidth), bounds);
}
private static void DrawBorderInternal(Graphics graphics, int startX, int startY, int endX, int endY,