Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mouse position on the video does not match the real mouse position #2

Open
faust347 opened this issue Jul 23, 2020 · 4 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@faust347
Copy link

The mouse position on the video does not match the real position. This is a bit annoying if I want to use the screen recorder to create learning material.

@Beelink Beelink self-assigned this Jul 26, 2020
@Beelink Beelink added the bug Something isn't working label Jul 26, 2020
@RaulMerelli
Copy link

To solve this issue is enough to change in MainForm.cs the line

Recorder.DrawIcon(g.GetHdc(), pci.ptScreenPos.x, pci.ptScreenPos.y, pci.hCursor);

To

Recorder.DrawIcon(g.GetHdc(), pci.ptScreenPos.x - (int)xNumeric.Value, pci.ptScreenPos.y - (int)yNumeric.Value, pci.hCursor);

@Beelink
Copy link
Member

Beelink commented May 28, 2021

To solve this issue is enough to change in MainForm.cs the line

Recorder.DrawIcon(g.GetHdc(), pci.ptScreenPos.x, pci.ptScreenPos.y, pci.hCursor);

To

Recorder.DrawIcon(g.GetHdc(), pci.ptScreenPos.x - (int)xNumeric.Value, pci.ptScreenPos.y - (int)yNumeric.Value, pci.hCursor);

Thank you for the hint. You can make a pull request with this fix if you want.

@faust347
Copy link
Author

faust347 commented May 28, 2021 via email

@Zac610
Copy link

Zac610 commented Jul 14, 2021

While waiting for this bug fixed, a quick-workaround is to put the window to be recorded aligned in the upper-left corner of the desktop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants