minor adjustments

This commit is contained in:
Paddy Xu
2017-07-24 22:43:59 +03:00
parent f627011802
commit 3df710e1fc
3 changed files with 8 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ namespace QuickLook.Plugin.CsvViewer
public void LoadFile(string path)
{
const int limit = 100000;
const int limit = 10000;
var binded = false;
using (var sr = new StreamReader(path))

View File

@@ -35,7 +35,7 @@ namespace QuickLook.Plugin.ImageViewer
".orf", ".pef", ".ptx", ".pxn", ".r3d", ".raf", ".raw", ".rwl", ".rw2", ".rwz", ".sr2", ".srf", ".srw",
".tif", ".x3f",
// normal
".bmp", ".gif", ".ico", ".jpg", ".jpeg", ".png", ".psd", ".svg", ".wdp", ".tiff", ".tga"
".bmp", ".gif", ".ico", ".icon", ".jpg", ".jpeg", ".png", ".psd", ".svg", ".wdp", ".tiff", ".tga", ".webp"
};
private Size _imageSize;
private ImagePanel _ip;

View File

@@ -55,7 +55,13 @@ namespace QuickLook
var can = false;
try
{
var timer = new Stopwatch();
timer.Start();
can = plugin.CanHandle(path);
timer.Stop();
Debug.WriteLine($"{plugin.GetType()}: {can}, {timer.ElapsedMilliseconds}ms");
}
catch (Exception)
{