Update default and post-load info messages for GIF plugin

This commit is contained in:
Stone_Red
2026-01-22 17:54:23 +01:00
parent cd0bcad181
commit e3056a398a
+2 -2
View File
@@ -17,7 +17,7 @@ public class GifPlugin : Plugin
private readonly FileSelector input = new FileSelector(); private readonly FileSelector input = new FileSelector();
[Setting("info")] [Setting("info")]
private readonly Label info = new Label(""); private readonly Label info = new Label("Select a GIF file to load.");
private readonly List<Bitmap> bitmaps = []; private readonly List<Bitmap> bitmaps = [];
@@ -92,7 +92,7 @@ public class GifPlugin : Plugin
info.Value = $"Loading frame {i + 1} of {gif.GetFrameCount(FrameDimension.Time)}"; info.Value = $"Loading frame {i + 1} of {gif.GetFrameCount(FrameDimension.Time)}";
} }
info.Value = string.Empty; info.Value = $"Loaded {bitmaps.Count} frames.";
} }
else else
{ {