This commit is contained in:
Johan Wångsell 2025-06-09 14:49:23 +02:00
parent ab605f6e28
commit 6fc9546790
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Avalonia.Threading; using Avalonia.Threading;
using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.ComponentModel;
namespace SourceGit.ViewModels namespace SourceGit.ViewModels

View file

@ -61,7 +61,6 @@ namespace SourceGit.Views
typeface, typeface,
_editor.FontSize, _editor.FontSize,
Brushes.DarkOrange); Brushes.DarkOrange);
context.DrawText(shaLink, new Point(x, y)); 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)); context.DrawLine(underlinePen, new Point(x, y + shaLink.Baseline + 2), new Point(x + shaLink.Width, y + shaLink.Baseline + 2));
x += shaLink.Width + 8; x += shaLink.Width + 8;