| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -51,10 +51,11 @@ protected override void OnPaint(PaintEventArgs e) | |||
| 51 | 51 | ||
| 52 | 52 | Graphics g = e.Graphics; | |
| 53 | 53 | Rectangle rect = ClientRectangle; | |
| 54 | + Pen pen = new Pen(PluginCore.PluginBase.MainForm.GetThemeColor("DockWindow.BorderColor", SystemColors.ControlDark)); | ||
| 54 | 55 | if (Alignment == DockAlignment.Top || Alignment == DockAlignment.Bottom) | |
| 55 | - g.DrawLine(SystemPens.ControlDark, rect.Left, rect.Bottom - 1, rect.Right, rect.Bottom - 1); | ||
| 56 | + g.DrawLine(pen, rect.Left, rect.Bottom - 1, rect.Right, rect.Bottom - 1); | ||
| 56 | 57 | else if (Alignment == DockAlignment.Left || Alignment == DockAlignment.Right) | |
| 57 | - g.DrawLine(SystemPens.ControlDarkDark, rect.Right - 1, rect.Top, rect.Right - 1, rect.Bottom); | ||
| 58 | + g.DrawLine(pen, rect.Right - 1, rect.Top, rect.Right - 1, rect.Bottom); | ||
| 58 | 59 | } | |
| 59 | 60 | ||
| 60 | 61 | protected override void OnMouseDown(MouseEventArgs e) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments