mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
enhance: exit loop on the first path that out of canvas bound
This commit is contained in:
parent
3b0f481e4b
commit
950083df34
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ namespace SourceGit.Views
|
|||
if (line.Points[size - 1].Y < top)
|
||||
continue;
|
||||
if (last.Y > bottom)
|
||||
continue;
|
||||
break;
|
||||
|
||||
var geo = new StreamGeometry();
|
||||
var pen = Models.CommitGraph.Pens[line.Color];
|
||||
|
|
Loading…
Reference in a new issue