upgrade<project>: upgrade to .net 5.0

This commit is contained in:
leo 2020-11-17 11:41:01 +08:00
parent a3f2c672b7
commit 24b175c331
4 changed files with 6 additions and 7 deletions

View file

@ -212,8 +212,7 @@ namespace SourceGit.UI {
new Typeface(leftText.FontFamily, p.FontStyle, p.FontWeight, p.FontStretch),
leftText.FontSize,
Brushes.Black,
new NumberSubstitution(),
TextFormattingMode.Ideal);
VisualTreeHelper.GetDpi(this).PixelsPerDip);
if (minWidth < formatter.Width) minWidth = formatter.Width;