Merge branch 'sourcegit-scm:develop' into develop

This commit is contained in:
Paolo Ghibaudo 2024-07-17 11:25:58 +02:00 committed by GitHub
commit 8f99f60917
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -162,7 +162,7 @@ namespace SourceGit.Views
var pen = new Pen(color.ToUInt32());
var x = ((Point)view.TranslatePoint(new Point(0, 0), this)).X;
var rect = new Rect(x, highlightChunk.Y, view.Bounds.Width, highlightChunk.Height);
var rect = new Rect(x - 4, highlightChunk.Y, view.Bounds.Width + 8, highlightChunk.Height);
context.DrawRectangle(brush, null, rect);
context.DrawLine(pen, rect.TopLeft, rect.TopRight);