Skip to content

Commit

Permalink
Add skiasharp
Browse files Browse the repository at this point in the history
  • Loading branch information
Equbuxu committed Aug 11, 2021
1 parent 0b5717b commit 14ca081
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PixiEditor/Models/Layers/Layer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ namespace PixiEditor.Models.Layers
public class Layer : BasicLayer
{
private const int SizeOfArgb = 4;
private readonly Color transparent = Color.FromArgb(0, 0, 0, 0);
private bool clipRequested;

private bool isActive;
Expand All @@ -29,7 +30,6 @@ public class Layer : BasicLayer
private Thickness offset;

private float opacity = 1f;
private readonly Color transparent = Color.FromArgb(0, 0, 0, 0);

private string layerHighlightColor = "#666666";

Expand Down Expand Up @@ -136,7 +136,7 @@ public bool IsRenaming
}
}

public WriteableBitmap LayerBitmap
private WriteableBitmap LayerBitmap
{
get => layerBitmap;
set
Expand Down
1 change: 1 addition & 0 deletions PixiEditor/PixiEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="PixiEditor.ColorPicker" Version="3.1.0" />
<PackageReference Include="PixiEditor.Parser" Version="1.1.3.1" />
<PackageReference Include="SkiaSharp" Version="2.80.3" />
<PackageReference Include="WriteableBitmapEx">
<Version>1.6.7</Version>
</PackageReference>
Expand Down

0 comments on commit 14ca081

Please sign in to comment.