mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 08:56:15 +02:00
Update default and post-load info messages for GIF plugin
This commit is contained in:
@@ -17,7 +17,7 @@ public class GifPlugin : Plugin
|
||||
private readonly FileSelector input = new FileSelector();
|
||||
|
||||
[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 = [];
|
||||
|
||||
@@ -92,7 +92,7 @@ public class GifPlugin : Plugin
|
||||
info.Value = $"Loading frame {i + 1} of {gif.GetFrameCount(FrameDimension.Time)}";
|
||||
}
|
||||
|
||||
info.Value = string.Empty;
|
||||
info.Value = $"Loaded {bitmaps.Count} frames.";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user