From 6fc95467906a28dd116485711d98199d7d8c466e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20W=C3=A5ngsell?= Date: Mon, 9 Jun 2025 14:49:23 +0200 Subject: [PATCH] cleanup --- src/ViewModels/Blame.cs | 2 ++ src/Views/Blame.axaml.cs | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ViewModels/Blame.cs b/src/ViewModels/Blame.cs index bfd3cd43..7cd3841f 100644 --- a/src/ViewModels/Blame.cs +++ b/src/ViewModels/Blame.cs @@ -1,7 +1,9 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; + using Avalonia.Threading; + using CommunityToolkit.Mvvm.ComponentModel; namespace SourceGit.ViewModels diff --git a/src/Views/Blame.axaml.cs b/src/Views/Blame.axaml.cs index b9cc482a..47f3809d 100644 --- a/src/Views/Blame.axaml.cs +++ b/src/Views/Blame.axaml.cs @@ -61,7 +61,6 @@ namespace SourceGit.Views typeface, _editor.FontSize, Brushes.DarkOrange); - context.DrawText(shaLink, new Point(x, y)); context.DrawLine(underlinePen, new Point(x, y + shaLink.Baseline + 2), new Point(x + shaLink.Width, y + shaLink.Baseline + 2)); x += shaLink.Width + 8;