We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d88f70a commit 0f0d844Copy full SHA for 0f0d844
src/BizHawk.Client.EmuHawk/MainForm.cs
@@ -4899,11 +4899,9 @@ private void CaptureMouse(bool wantCapture)
4899
{
4900
if (wantCapture)
4901
4902
- var size = _presentationPanel.Control.Size;
4903
var fbLocation = Point.Subtract(Bounds.Location, new(PointToClient(Location)));
4904
fbLocation.Offset(_presentationPanel.Control.Location);
4905
- fbLocation.Offset(new Point(size.Width / 2, size.Height / 2));
4906
- Cursor.Clip = new(fbLocation, new(1, 1));
+ Cursor.Clip = new(fbLocation, _presentationPanel.Control.Size);
4907
Cursor.Hide();
4908
_presentationPanel.Control.Cursor = Properties.Resources.BlankCursor;
4909
_cursorHidden = true;
0 commit comments