fix a bug where the zoom level of HTML viewer is always 200%

This commit is contained in:
Paddy Xu
2017-06-12 18:16:07 +03:00
parent d2e8853b26
commit af33dc5c34
4 changed files with 68 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ namespace QuickLook.Plugin.HtmlViewer
public WebpagePanel()
{
InitializeComponent();
browser.Zoom = (int) (100 * DpiHelper.GetCurrentDpi().HorizontalDpi / DpiHelper.DEFAULT_DPI);
}
public void Dispose()