fix: shortcuts (#254)

This commit is contained in:
lencx
2023-02-02 00:04:38 +08:00
parent 272ef1cd37
commit 8aeca251e6
2 changed files with 6 additions and 2 deletions

View File

@@ -6,6 +6,10 @@ Fix:
- PNG and PDF buttons do not work (https://github.com/lencx/ChatGPT/issues/274) - PNG and PDF buttons do not work (https://github.com/lencx/ChatGPT/issues/274)
Feat:
- Copy a single record to the clipboard (https://github.com/lencx/ChatGPT/issues/191)
## v0.10.1 ## v0.10.1
Fix: Fix:

View File

@@ -162,9 +162,9 @@ pub fn init() -> Menu {
let view_menu = Submenu::new( let view_menu = Submenu::new(
"View", "View",
Menu::new() Menu::new()
.add_item(CustomMenuItem::new("go_back".to_string(), "Go Back").accelerator("CmdOrCtrl+Left")) .add_item(CustomMenuItem::new("go_back".to_string(), "Go Back").accelerator("CmdOrCtrl+["))
.add_item( .add_item(
CustomMenuItem::new("go_forward".to_string(), "Go Forward").accelerator("CmdOrCtrl+Right"), CustomMenuItem::new("go_forward".to_string(), "Go Forward").accelerator("CmdOrCtrl+]"),
) )
.add_item( .add_item(
CustomMenuItem::new("scroll_top".to_string(), "Scroll to Top of Screen") CustomMenuItem::new("scroll_top".to_string(), "Scroll to Top of Screen")