mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-01 18:35:13 +00:00
minor adjustments
This commit is contained in:
@@ -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))
|
||||
|
@@ -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;
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user