mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 13:45:00 +00:00
fix: inline blocks is not sorted in order (#1274)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
007acb3fa6
commit
8c1d397480
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ namespace SourceGit.Views
|
||||||
var rules = IssueTrackerRules ?? [];
|
var rules = IssueTrackerRules ?? [];
|
||||||
foreach (var rule in rules)
|
foreach (var rule in rules)
|
||||||
rule.Matches(_elements, subject);
|
rule.Matches(_elements, subject);
|
||||||
|
|
||||||
|
_elements.Sort((l, r) => l.Start - r.Start);
|
||||||
_needRebuildInlines = true;
|
_needRebuildInlines = true;
|
||||||
InvalidateVisual();
|
InvalidateVisual();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue