Skip to content

Commit

Permalink
move AvaloniaBitmapJsonConverter.cs to JsonConverters for serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
rullinoiz committed Oct 21, 2024
1 parent 47ec1ae commit 1bccbdf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions scoreboard2/scoreboard2/Controls/PresetControl.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using Avalonia.Platform.Storage;
using Newtonsoft.Json;
using scoreboard2.Converters;
using scoreboard2.Converters.JsonConverters;
using scoreboard2.Models;

namespace scoreboard2.Controls;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
using System;
using System.Drawing.Imaging;
using System.IO;
using System.IO.Compression;
using Avalonia.Media.Imaging;
using IronSoftware.Drawing;
using Newtonsoft.Json;
using scoreboard2.Common.Extensions;

namespace scoreboard2.Converters;
namespace scoreboard2.Converters.JsonConverters;

public class AvaloniaBitmapJsonConverter : JsonConverter<Bitmap>
{
Expand Down
1 change: 0 additions & 1 deletion scoreboard2/scoreboard2/scoreboard2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,5 @@

<ItemGroup>
<Folder Include="Common\Assets\Fonts\" />
<Folder Include="Converters\JsonConverters\" />
</ItemGroup>
</Project>

0 comments on commit 1bccbdf

Please sign in to comment.