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

🚀 功能建议:通过 ⌘W 关闭偏好设置窗口 #40

Closed
3 tasks done
Jerry23011 opened this issue Apr 1, 2023 · 3 comments
Closed
3 tasks done

🚀 功能建议:通过 ⌘W 关闭偏好设置窗口 #40

Jerry23011 opened this issue Apr 1, 2023 · 3 comments
Labels
enhancement New feature or request fixed in next release The issue will be closed once next release is available

Comments

@Jerry23011
Copy link
Collaborator

Jerry23011 commented Apr 1, 2023

请先确认以下事项

  • 已仔细阅读了 README
  • issues 页面搜索过,未发现类似功能建议
  • Easydict 已升级到最新版本

功能描述

Easydict 的翻译窗口是可以用 ⌘W 关闭的,但是偏好设置窗口貌似不行,个人认为如果偏好设置窗口也能通过 ⌘W 关闭的话会在体验上更加统一

使用场景(可选)

偏好设置窗口

实现方案(可选)

类似在 SwiftUI 里的这种:

 Button("Close Window") {
                NSApp.keyWindow?.windowController?.close()
            }
            .keyboardShortcut("w", modifiers: [.command])
@Jerry23011 Jerry23011 added the enhancement New feature or request label Apr 1, 2023
@tisfeng
Copy link
Owner

tisfeng commented Apr 1, 2023

可以,稍后我加一下。

@Jerry23011
Copy link
Collaborator Author

Jerry23011 commented Apr 1, 2023 via email

@tisfeng tisfeng added the fixed in next release The issue will be closed once next release is available label Apr 5, 2023
@tisfeng
Copy link
Owner

tisfeng commented Apr 28, 2023

你好,新版本已添加快捷键 https://github.com/tisfeng/Easydict/releases/tag/1.3.0

@tisfeng tisfeng closed this as completed Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed in next release The issue will be closed once next release is available
Projects
None yet
Development

No branches or pull requests

2 participants