Skip to content

段落翻译快捷键(Ctrl)长按触发影响其他快捷键(如 Ctrl+C) #2121

Description

@linmii

我将“段落翻译”的触发快捷键设置为了 Ctrl 键,预期行为是:鼠标悬停在段落上,且仅在短按一次 Ctrl 键(按下并立即释放)时才触发段落翻译。

但在实际使用中,长按 Ctrl 键也会触发段落翻译。这导致在进行其他需要使用 Ctrl 的系统快捷键操作(例如选中文本后按 Ctrl + C 复制)时,会频繁意外触发段落翻译,影响正常使用。

期望行为

短按 Ctrl(单击按下并释放)时:触发段落翻译。

长按 Ctrl 或与其他按键组合使用时(如 Ctrl+C / Ctrl+V):不触发段落翻译。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions