don't save icon texture

This commit is contained in:
Infi
2024-07-26 21:16:33 +02:00
parent 3d733d6c53
commit 588dd31c16
3 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ public partial class InputPreview : Window
private void DrawChunkPreview(Chunk chunk, PayloadHandler? handler = null, float lineWidth = 0f, int unique = 0)
{
if (chunk is IconChunk icon && LogWindow.FontIcon != null)
if (chunk is IconChunk icon)
{
LogWindow.DrawIcon(chunk, icon, handler);
if (icon.Icon != BitmapFontIcon.AutoTranslateBegin)