Skip to content

Commit f4f0fe7

Browse files
committed
fix: vertical grid line over-draw
1 parent 2d611cf commit f4f0fe7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Views/ColorPicker.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,9 @@ public override void Render(DrawingContext context)
111111
var border = this.FindResource("Brush.Border0") as IBrush;
112112
var pen = new Pen(border, 0.4);
113113
for (int i = 1; i < 6; i++)
114-
{
115-
for (int j = 1; j < 8; j++)
116-
context.DrawLine(pen, new Point(j * 32, 0), new Point(j * 32, 192));
117-
118114
context.DrawLine(pen, new Point(0, i * 32), new Point(256, i * 32));
119-
}
115+
for (int j = 1; j < 8; j++)
116+
context.DrawLine(pen, new Point(j * 32, 0), new Point(j * 32, 192));
120117
}
121118

122119
// Palette picker

0 commit comments

Comments
 (0)