Skip to content

Commit

Permalink
fix a error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr.Abc committed Aug 16, 2024
1 parent 1ffe6cc commit e3dd29d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SPRView.Net/Window/App.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Avalonia.Markup.Xaml;
using Avalonia.Media.Imaging;
using SixLabors.ImageSharp;
using SPRView.Net.Lib.Class;
using SPRView.Net.Storage;
using SPRView.Net.ViewModel;
using System;
Expand Down Expand Up @@ -55,7 +56,7 @@ public static void LoadFile(Stream file)
{
try
{
var newSprite = new Lib.CSprite(file);
var newSprite = new CSprite(file);
m_pStorage.NowSprite = newSprite;
using var memoryStream = new MemoryStream();
Image img = newSprite.GetImage(0);
Expand Down

0 comments on commit e3dd29d

Please sign in to comment.