From ce8cfacee1bfba7e217050f26956179202dd4260 Mon Sep 17 00:00:00 2001 From: Paddy Xu Date: Fri, 2 Jun 2017 20:12:19 +0300 Subject: [PATCH] we need to set the Source anyway --- .../QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs index d4b5970..aafbca2 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/ImagePanel.xaml.cs @@ -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)) {