mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57: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 {
|
} else {
|
||||||
ctx.QuadraticBezierTo(new Point(last.X, cur.Y), cur, true, false);
|
ctx.QuadraticBezierTo(new Point(last.X, cur.Y), cur, true, false);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (cur.Y != last.Y) {
|
||||||
ctx.LineTo(cur, true, false);
|
ctx.LineTo(cur, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue