Closed toxybenzoic closed 1 year ago
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.
scaleFactor
x, y, width, and height
I also multiplied the mouse position by the scaleFactor.
Thanks, merge now and will release later.
Fixes #17.
The problem was caused by windows only accepting integer screen point values. Since multiplying the
scaleFactor
with thex, y, width, and height
could produce decimal numbers, I floored them.I also multiplied the mouse position by the
scaleFactor
.