Fixed nearest font matching not working (#16796)

This commit is contained in:
Lighto 2024-09-12 07:02:42 +03:00 коммит произвёл GitHub
Родитель ddf7238cc9
Коммит eb356310c1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}