mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
we need to set the Source anyway
This commit is contained in:
@@ -35,10 +35,7 @@ namespace QuickLook.Plugin.ImageViewer
|
||||
private void LoadImage(string path)
|
||||
{
|
||||
if (Path.GetExtension(path).ToLower() == ".gif")
|
||||
{
|
||||
AnimationBehavior.SetSourceUri(viewPanelImage, new Uri(path));
|
||||
return;
|
||||
}
|
||||
|
||||
using (var image = new MagickImage(path))
|
||||
{
|
||||
|
Reference in New Issue
Block a user