fix: can close feedback window with escape key

This commit is contained in:
Louis Pontoise authored and lwouis committed 2020-05-06 04:34:58 +09:00
1 parent 19257773ec
commit 05fb4a2dff
1 file changed
+2 -1
+2 -1
View File
@@ -63,7 +63,8 @@ class FeedbackWindow: NSWindow {
contentView = view
}
@objc private func cancelCallback() {
// allow to close with the escape key
@objc func cancel(_ sender: Any?) {
close()
}