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

多屏幕下,出现负坐标,无法使用鼠标滚轮,发现问题在这里 #559

Open
MaskerPRC opened this issue Nov 16, 2022 · 1 comment

Comments

@MaskerPRC
Copy link

image

LRESULT PlatformEventHandler::fireWheelEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
int x = LOWORD(lParam);

当lParam的低WORD位为负数时,即例如 0x0000FFFF 其实应该表示的是多屏幕下的-1坐标,但是这里会得到一个很大的正数坐标导致后面的逻辑无效

@MaskerPRC
Copy link
Author

期待再次开源

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

1 participant