Repository navigation
fix: keep keys from reaching the diagram behind an open dialog - #141
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Your really cooking! appreciate your work :3 |
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Two small fixes.
Keys behind an open dialog. With Share, Settings or any other dialog open, keys still reached the diagram behind it: Delete removed the selected box, Space on a dialog button paused the run instead of pressing the button, and C, M, S and the other letters folded panels or stepped the run. An open dialog now owns the keys.
?and Ctrl+/ still close their own dialog."all 1 slots busy". What just happened and Find the problem now say "its only slot busy" for a part with one slot, and the same for copies and connections.
Verification
App.keyboard.test.tsxopens Share, presses Delete, Backspace, C, M, Space and S, and checks nothing behind it changed. It fails without the fix.bottleneck.test.tsfor the one-slot wordingbun run testpasses (3416)bun run typecheckandbun run lintpass