Skip to content

Commit d6a48e5

Browse files
committed
fix: inline blocks is not sorted in order (#1274)
Signed-off-by: leo <[email protected]>
1 parent 007acb3 commit d6a48e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Views/CommitSubjectPresenter.cs

+2
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
177177
var rules = IssueTrackerRules ?? [];
178178
foreach (var rule in rules)
179179
rule.Matches(_elements, subject);
180+
181+
_elements.Sort((l, r) => l.Start - r.Start);
180182

181183
_needRebuildInlines = true;
182184
InvalidateVisual();

0 commit comments

Comments
 (0)