better and faster window resize; Add "AllowsTransparency" to plugin interface; Use IPreviewHandler for Office files

This commit is contained in:
Paddy Xu
2017-05-21 22:02:42 +03:00
parent e0a7f38d58
commit e450971217
36 changed files with 533 additions and 409 deletions

View File

@@ -10,6 +10,7 @@ namespace QuickLook.Plugin.MarkdownViewer
private WebkitPanel _panel;
public int Priority => int.MaxValue;
public bool AllowsTransparency => true;
public bool CanHandle(string path)
{
@@ -30,7 +31,7 @@ namespace QuickLook.Plugin.MarkdownViewer
{
context.PreferredSize = new Size(800, 800);
context.Focusable = true;
context.CanFocus = true;
}
public void View(string path, ContextObject context)