can draw and show multiple icons on one extract

This commit is contained in:
iAmAsval
2022-01-17 22:21:23 +01:00
parent 082917d3cb
commit a6adddf8fe
21 changed files with 56 additions and 85 deletions

View File

@@ -223,6 +223,10 @@ namespace FModel.ViewModels
}
public void AddImage(UTexture2D texture) => AddImage(texture.Name, texture.bRenderNearestNeighbor, texture.Decode());
public void AddImage(string name, bool rnn, SKBitmap[] img)
{
foreach (var i in img) AddImage(name, rnn, i);
}
public void AddImage(string name, bool rnn, SKBitmap img)
{
Application.Current.Dispatcher.Invoke(() =>