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

Windows 下 Ctrl+Shift+9 按键不识别 #5958

Closed
1 task done
iamqiz opened this issue Sep 25, 2022 · 0 comments
Closed
1 task done

Windows 下 Ctrl+Shift+9 按键不识别 #5958

iamqiz opened this issue Sep 25, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@iamqiz
Copy link
Contributor

iamqiz commented Sep 25, 2022

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

定义快捷键为ctrl+shift+9,
无法触发
原因是:
app/src/protyle/util/hotKey.ts里
let isMatchKey = event.key.toLowerCase() === keyCode.toLowerCase();
的event.key为 ( 而 keyCode 是9
且 Constants.KEYCODE[event.keyCode] 没有0-9数字的大小写映射

期待的结果 Expected result

1

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: 
- Operating System: 
- Browser (if used):
1

日志文件 Log file

1

更多信息 More information

No response

@88250 88250 changed the title ctrl+shift+9 按键不识别 Ctrl+Shift+9 按键不识别 Sep 25, 2022
@88250 88250 added the Bug label Sep 26, 2022
@88250 88250 added this to the 2.2.2 milestone Sep 26, 2022
@88250 88250 changed the title Ctrl+Shift+9 按键不识别 Windows 下 Ctrl+Shift+9 按键不识别 Sep 26, 2022
@88250 88250 closed this as completed Sep 26, 2022
88250 added a commit that referenced this issue Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants