Skip to content

Commit 2a3ffb7

Browse files
committed
Update Window.cs
MaxButton MouseOver Opacity
1 parent 45ef662 commit 2a3ffb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WPFDevelopers.Net45x/Window.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,11 @@ private IntPtr WindowProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, re
228228
if (rect.Contains(new Point(x, y)))
229229
{
230230
handled = true;
231-
contentPresenter.Opacity = 0.7;
231+
contentPresenter.Opacity = 1;
232232
}
233233
else
234234
{
235-
contentPresenter.Opacity = 1;
235+
contentPresenter.Opacity = 0.7;
236236
}
237237
return new IntPtr(OSVersionHelper.HTMAXBUTTON);
238238
}

0 commit comments

Comments
 (0)