Skip to content

Commit

Permalink
Small improvements (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
pictos committed Aug 21, 2023
1 parent 236cbe2 commit 1633a92
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static ShadowInfos From(Shadow shadow, double width, double height)
}
}

private record struct SKShadow(
private readonly record struct SKShadow(
bool IsInner,
float OffsetX,
float OffsetY,
Expand Down Expand Up @@ -78,7 +78,7 @@ public static SKShadow From(Shadow shadow, float width, float height, float corn
}
}

private ShadowInfos[] _shadowInfoArray = new[] { ShadowInfos.Empty };
private ShadowInfos[] _shadowInfoArray = Array.Empty<ShadowInfos>();
private float _currentPixelRatio;
private Color? _currentContentBackgroundColor;

Expand Down

0 comments on commit 1633a92

Please sign in to comment.