Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve capturing of cursor in mouse lock mode
- Avoid jumpy first motion after activating lock - Fix capture of cursor to map center -- because the camera controller has no knowledge of the map canvas geometry (specifically the window position), we can't set the global mouse cursor position directly from the controller and instead need to push reponsibility for this up to the 3d map canvas widget instead
- Loading branch information
1 parent
0cb2f50
commit a630ef4
Showing
4 changed files
with
24 additions
and
21 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
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
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
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