Skip to content

Commit

Permalink
Fixed text zoom for non HiDpi
Browse files Browse the repository at this point in the history
  • Loading branch information
spaghettidba committed Jan 24, 2017
1 parent f99aa92 commit cd5fff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ForumSurfer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.0.7")]
[assembly: AssemblyVersion("1.4.0.8")]

1 change: 1 addition & 0 deletions ForumSurfer/View/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ private void setBrowserZoom(object zoomPercent)
InternetExplorer ie = (InternetExplorer)comWebBrowser;
try
{
if((int)zoomPercent > 100)
ie.ExecWB(SHDocVw.OLECMDID.OLECMDID_ZOOM, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, ref textZoomO, IntPtr.Zero);
}
catch (Exception ex1)
Expand Down

0 comments on commit cd5fff2

Please sign in to comment.