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(core): a layout-independent way to detect undo and redo shortcuts #313

Merged
merged 1 commit into from
May 22, 2023

Conversation

demensky
Copy link
Contributor

A more reliable way to determine the pressed key is used (using KeyboardEvent#code).

Also added handling of Ctrl + Shift + Z on Windows.

Closes: #310

@demensky demensky marked this pull request as ready for review May 20, 2023 12:22
A more reliable way to determine the pressed key is used (using
[KeyboardEvent#code](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code)).

Also added handling of `Ctrl` + `Shift` + `Z` on Windows.

Closes: taiga-family#310
@demensky demensky force-pushed the layout-independent branch from eec750c to 2ca6303 Compare May 22, 2023 11:17
@demensky demensky marked this pull request as draft May 22, 2023 12:18
@nsbarsukov nsbarsukov marked this pull request as ready for review May 22, 2023 13:38
@nsbarsukov nsbarsukov merged commit 9d215b8 into taiga-family:main May 22, 2023
@tinkoff-bot tinkoff-bot mentioned this pull request May 25, 2023
@demensky demensky deleted the layout-independent branch June 23, 2023 09:48
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.

🐞 - ⌘⇧Z stops working if the layout is not English
3 participants