mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
fix: vertical grid line over-draw
This commit is contained in:
parent
2d611cf988
commit
f4f0fe788b
1 changed files with 2 additions and 5 deletions
|
@ -111,12 +111,9 @@ namespace SourceGit.Views
|
|||
var border = this.FindResource("Brush.Border0") as IBrush;
|
||||
var pen = new Pen(border, 0.4);
|
||||
for (int i = 1; i < 6; i++)
|
||||
{
|
||||
context.DrawLine(pen, new Point(0, i * 32), new Point(256, i * 32));
|
||||
for (int j = 1; j < 8; j++)
|
||||
context.DrawLine(pen, new Point(j * 32, 0), new Point(j * 32, 192));
|
||||
|
||||
context.DrawLine(pen, new Point(0, i * 32), new Point(256, i * 32));
|
||||
}
|
||||
}
|
||||
|
||||
// Palette picker
|
||||
|
|
Loading…
Reference in a new issue