Skip to content

Commit 9654873

Browse files
committed
small fix to browser painting
1 parent 75b7480 commit 9654873

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

FlashpointSecurePlayer/WebBrowserMode.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,9 @@ private void closableWebBrowser_WebBrowserPaint(object sender, EventArgs e) {
671671
// Width, Height, and WindowState changes all work here
672672
// Width/Height are less obvious and Height doesn't cause text reflow
673673
if (WindowState != FormWindowState.Maximized) {
674-
Height--;
674+
// add first in case it's zero
675675
Height++;
676+
Height--;
676677
}
677678
}
678679

0 commit comments

Comments
 (0)