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

DragTo inaccurate #19

Open
Fike7 opened this issue Feb 14, 2019 · 1 comment
Open

DragTo inaccurate #19

Fike7 opened this issue Feb 14, 2019 · 1 comment

Comments

@Fike7
Copy link

Fike7 commented Feb 14, 2019

I just modified the following lines inside the DragMouseTo funcion:

replaced

mouseInput.mkhi.mi.dx = x;
mouseInput.mkhi.mi.dy = y;

for

mouseInput.mkhi.mi.dx = CalculateAbsoluteCoordinateX(x);
mouseInput.mkhi.mi.dy = CalculateAbsoluteCoordinateY(y);

And now works correctly

@npocmaka
Copy link
Owner

@Fike7 - thanks! I'll check this tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants