mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-21 02:15:00 +00:00
cleanup
This commit is contained in:
parent
ab605f6e28
commit
6fc9546790
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue