-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Grab keyboard focus when clickable area hovered
Finally figured out how to do this. This change makes it possible for the first time for the overlay window to react to keyboard events, and so it's possible to make any arbitrary interactive web UI with it! It's pretty neato. This is a proof of concept! There are many minor bugs, like drag-and-drop completely breaks when trying to drag out of the overlay's clickable area, and enter/leave events jitter when sweeping the mouse along edges of the screen. That kind of thing. Related to #3 and #5, but not global; no events are duplicated here.
- Loading branch information
Showing
2 changed files
with
65 additions
and
1 deletion.
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