mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
optimize<CommitGraph>: ignore duplicated point in Line
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user