limit the usage of slow ReaderFactory into ".tar.xx" formats

This commit is contained in:
Paddy Xu
2017-06-04 13:38:11 +03:00
parent 792520a6ff
commit 86733a4d3d
2 changed files with 17 additions and 15 deletions

View File

@@ -25,6 +25,7 @@ namespace QuickLook.Plugin.ArchiveViewer
case ".rar":
case ".zip":
case ".tar":
case ".tgz":
case ".gz":
case ".bz2":
case ".lz":
@@ -39,7 +40,7 @@ namespace QuickLook.Plugin.ArchiveViewer
public void Prepare(string path, ContextObject context)
{
context.PreferredSize = new Size {Width = 800, Height = 600};
context.PreferredSize = new Size {Width = 800, Height = 400};
}
public void View(string path, ContextObject context)