do not show info icon; do not retain window position (fix for #179); update NuGet packages

This commit is contained in:
Paddy Xu
2018-02-12 19:08:00 +02:00
parent 4e356f9e77
commit 4133d2148c
12 changed files with 25 additions and 26 deletions

View File

@@ -18,6 +18,7 @@
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
@@ -252,6 +253,8 @@ namespace QuickLook.Plugin.ImageViewer
textMeta.Inlines.Add("\r\n");
});
textMeta.Inlines.Remove(textMeta.Inlines.LastInline);
if (!textMeta.Inlines.Any())
MetaIconVisibility = Visibility.Collapsed;
}
public event EventHandler<int> ImageScrolled;