Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accumulate subpixel mouse motion so motion is not lost.
Previously when the canvas was scaled up and the pointer was locked, motion corresponding to less than one pixel was lost. Therefore, slow mouse motion resulted in no motion. This fixes that.
- Loading branch information
1 parent
443998f
commit a20c40c
Showing
1 changed file
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters