Skip to content

Conversation

toxybenzoic
Copy link
Contributor

@toxybenzoic toxybenzoic commented Sep 3, 2023

Fixes #17.

The problem was caused by windows only accepting integer screen point values. Since multiplying the scaleFactor with the x, y, width, and height could produce decimal numbers, I floored them.

I also multiplied the mouse position by the scaleFactor.

@manhtai
Copy link
Member

manhtai commented Sep 4, 2023

Thanks, merge now and will release later.

@manhtai manhtai merged commit 9ad0c6f into plainlab:develop Sep 4, 2023
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

Successfully merging this pull request may close these issues.

Error processing argument at Index 0...
2 participants