Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dismiss block borders by key press #837

Merged
merged 1 commit into from
May 18, 2017
Merged

Conversation

aduth
Copy link
Member

@aduth aduth commented May 18, 2017

Closes #669

This pull request seeks to change the behavior of block border dismissal by typing to only dismiss borders when a key is pressed, excluding modifier keys (shift, etc.).

Implementation notes:

Technically this doesn't detect that input occurred, but rather that the key being pressed is not merely the first of a sequence of keys in a modifier combination.

Testing instructions:

Verify that block borders are dismissed when entering a character.
Verify that block borders are not dismissed when pressing shift.

onKeyDown emitted when modifier key, not the case with onKeyPress
@aduth aduth added the [Feature] Blocks Overall functionality of blocks label May 18, 2017
Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great 🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants