mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
optimize<CommitGraph>: ignore duplicated point in Line
This commit is contained in:
parent
81d623c17f
commit
5772a9c171
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ namespace SourceGit.Views.Controls {
|
|||
} else {
|
||||
ctx.QuadraticBezierTo(new Point(last.X, cur.Y), cur, true, false);
|
||||
}
|
||||
} else {
|
||||
} else if (cur.Y != last.Y) {
|
||||
ctx.LineTo(cur, true, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue