mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-22 03:00:14 +08:00
better and faster window resize; Add "AllowsTransparency" to plugin interface; Use IPreviewHandler for Office files
This commit is contained in:
@@ -9,6 +9,7 @@ namespace QuickLook.Plugin.HtmlViewer
|
||||
private WebkitPanel _panel;
|
||||
|
||||
public int Priority => int.MaxValue;
|
||||
public bool AllowsTransparency => true;
|
||||
|
||||
public bool CanHandle(string path)
|
||||
{
|
||||
@@ -30,7 +31,7 @@ namespace QuickLook.Plugin.HtmlViewer
|
||||
{
|
||||
context.PreferredSize = new Size(800, 800);
|
||||
|
||||
context.Focusable = true;
|
||||
context.CanFocus = true;
|
||||
}
|
||||
|
||||
public void View(string path, ContextObject context)
|
||||
|
||||
Reference in New Issue
Block a user