mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 09:49:07 +00: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.TextViewer
|
||||
private TextViewerPanel _tvp;
|
||||
|
||||
public int Priority => 0;
|
||||
public bool AllowsTransparency => true;
|
||||
|
||||
public bool CanHandle(string path)
|
||||
{
|
||||
@@ -43,7 +44,7 @@ namespace QuickLook.Plugin.TextViewer
|
||||
public void Prepare(string path, ContextObject context)
|
||||
{
|
||||
context.PreferredSize = new Size {Width = 800, Height = 600};
|
||||
context.Focusable = true;
|
||||
context.CanFocus = true;
|
||||
}
|
||||
|
||||
public void View(string path, ContextObject context)
|
||||
|
Reference in New Issue
Block a user