Browse Source

Merge branch 'features/web' of https://github.com/AvaloniaUI/Avalonia into features/web

repros/web-null-signature
Dan Walmsley 4 years ago
parent
commit
b32923383b
  1. 2
      src/Skia/Avalonia.Skia/SKTypefaceCollection.cs
  2. 2
      src/Skia/Avalonia.Skia/SKTypefaceCollectionCache.cs

2
src/Skia/Avalonia.Skia/SKTypefaceCollection.cs

@ -6,7 +6,7 @@ using SkiaSharp;
namespace Avalonia.Skia namespace Avalonia.Skia
{ {
internal class SKTypefaceCollection public class SKTypefaceCollection
{ {
private readonly ConcurrentDictionary<Typeface, SKTypeface> _typefaces = private readonly ConcurrentDictionary<Typeface, SKTypeface> _typefaces =
new ConcurrentDictionary<Typeface, SKTypeface>(); new ConcurrentDictionary<Typeface, SKTypeface>();

2
src/Skia/Avalonia.Skia/SKTypefaceCollectionCache.cs

@ -7,7 +7,7 @@ using SkiaSharp;
namespace Avalonia.Skia namespace Avalonia.Skia
{ {
internal static class SKTypefaceCollectionCache public static class SKTypefaceCollectionCache
{ {
private static readonly ConcurrentDictionary<FontFamily, SKTypefaceCollection> s_cachedCollections; private static readonly ConcurrentDictionary<FontFamily, SKTypefaceCollection> s_cachedCollections;

Loading…
Cancel
Save