-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore mouse support to orbits window
The old mouse code worked by faking up key presses for all the mouse movements. We want to move away from this style of mouse handling and move towards handling mouse events directly. The orbit window handling would block waiting for keyboard input through the cursor. Our indirect method of handling mouse events updates the cursor position, so add a flag on the Cursor object that unblocks waiting for a key press if the position was updated externally. This unblocks the Cursor key press code once and allows the orbits window to continue.
- Loading branch information
1 parent
a06f150
commit bc2a4ff
Showing
3 changed files
with
11 additions
and
8 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