aboutsummaryrefslogtreecommitdiff
path: root/source/ShiftUI/Theming/ThemeSkinnable.cs
diff options
context:
space:
mode:
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,