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

Fix regression: key for menu items randomly chosen from bindings mapped to multiple keys #3833

Closed
wants to merge 1 commit into from

Conversation

svobs
Copy link
Contributor

@svobs svobs commented Jun 14, 2022


Description:
As @low-batt has pointed out, using an OrderedDictionary from swift-collections would be the most elegant solution, but if adding a dependency to that is not favorable, here is a solution which uses only the built-in data structures.

@svobs svobs closed this Jun 14, 2022
@svobs svobs reopened this Jun 14, 2022
@svobs
Copy link
Contributor Author

svobs commented Jul 22, 2022

Closing this in favor of #3887. The fix given here has a logic hole which allows for duplicate entries to be stored which (though not harming the functionality) is sub-optimal.

@svobs svobs closed this Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant