mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-23 10:34:51 +00:00
do not show info icon; do not retain window position (fix for #179); update NuGet packages
This commit is contained in:
@@ -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;
|
||||
|
@@ -62,8 +62,8 @@
|
||||
<Reference Include="LibAPNG">
|
||||
<HintPath>.\LibAPNG.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Magick.NET-Q8-AnyCPU, Version=7.2.1.0, Culture=neutral, PublicKeyToken=2004825badfa91ec, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Magick.NET-Q8-AnyCPU.7.2.1\lib\net40\Magick.NET-Q8-AnyCPU.dll</HintPath>
|
||||
<Reference Include="Magick.NET-Q8-AnyCPU, Version=7.4.0.0, Culture=neutral, PublicKeyToken=2004825badfa91ec, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Magick.NET-Q8-AnyCPU.7.4.0\lib\net40\Magick.NET-Q8-AnyCPU.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
@@ -103,9 +103,6 @@
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\background-b.png" />
|
||||
<Resource Include="Resources\background.png" />
|
||||
@@ -124,5 +121,8 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<packages>
|
||||
<package id="Magick.NET-Q8-AnyCPU" version="7.2.1" targetFramework="net462" />
|
||||
<package id="Magick.NET-Q8-AnyCPU" version="7.4.0" targetFramework="net462" />
|
||||
</packages>
|
Reference in New Issue
Block a user