mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-03-01 01:00:27 +08:00
Add "Focusable" property to plugins
This commit is contained in:
@@ -40,9 +40,10 @@ namespace QuickLook.Plugin.TextViewer
|
||||
}
|
||||
}
|
||||
|
||||
public void BoundViewSize(string path, ContextObject context)
|
||||
public void Prepare(string path, ContextObject context)
|
||||
{
|
||||
context.PreferredSize = new Size {Width = 800, Height = 600};
|
||||
context.Focusable = true;
|
||||
}
|
||||
|
||||
public void View(string path, ContextObject context)
|
||||
|
||||
Reference in New Issue
Block a user