Browse Source

address review

pull/5683/head
Jumar Macato 6 years ago
parent
commit
2da760005c
No known key found for this signature in database GPG Key ID: B19884DAC3A5BF3F
  1. 8
      src/Skia/Avalonia.Skia/GeometryImpl.cs

8
src/Skia/Avalonia.Skia/GeometryImpl.cs

@ -11,18 +11,18 @@ namespace Avalonia.Skia
internal abstract class GeometryImpl : IGeometryImpl internal abstract class GeometryImpl : IGeometryImpl
{ {
private PathCache _pathCache; private PathCache _pathCache;
private SKPathMeasure _pathMeasureCachex; private SKPathMeasure _pathMeasureCache;
private SKPathMeasure CachedPathMeasure private SKPathMeasure CachedPathMeasure
{ {
get get
{ {
if (_pathMeasureCachex is null) if (_pathMeasureCache is null)
{ {
_pathMeasureCachex = new SKPathMeasure(EffectivePath); _pathMeasureCache = new SKPathMeasure(EffectivePath);
} }
return _pathMeasureCachex; return _pathMeasureCache;
} }
} }

Loading…
Cancel
Save