зеркало из https://github.com/AvaloniaUI/Avalonia.git
Fixed nearest font matching not working (#16796)
This commit is contained in:
Родитель
ddf7238cc9
Коммит
eb356310c1
|
@ -82,7 +82,7 @@ namespace Avalonia.Media.Fonts
|
|||
if (createdKey != key)
|
||||
{
|
||||
//Try to find nearest match if possible
|
||||
if (!TryGetNearestMatch(glyphTypefaces, key, out var nearestMatch))
|
||||
if (TryGetNearestMatch(glyphTypefaces, key, out var nearestMatch))
|
||||
{
|
||||
glyphTypeface = nearestMatch;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче