mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-22 03:00:14 +08:00
Done HtmlViewer
This commit is contained in:
@@ -28,7 +28,9 @@ namespace QuickLook.Plugin.HtmlViewer
|
||||
|
||||
public void Prepare(string path, ContextObject context)
|
||||
{
|
||||
context.PreferredSize = new Size(600, 800);
|
||||
context.PreferredSize = new Size(800, 800);
|
||||
|
||||
context.Focusable = true;
|
||||
}
|
||||
|
||||
public void View(string path, ContextObject context)
|
||||
@@ -42,6 +44,9 @@ namespace QuickLook.Plugin.HtmlViewer
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
GC.SuppressFinalize(this);
|
||||
|
||||
_panel?.Dispose();
|
||||
}
|
||||
|
||||
~Plugin()
|
||||
|
||||
Reference in New Issue
Block a user