fixed issue where couldn't cut and selectAll on macos

This commit is contained in:
George Shi committed 2024-05-20 17:32:50 +08:00
1 parent 9e71989ff5
commit f9dbbae293
4 files changed
+24

No files matched your search

+2
View File
@@ -46,6 +46,7 @@ export const Hotkey = {
Build: hotkey("ctrl+b"),
CloseEditor: hotkey("ctrl+w"),
Copy: hotkey("ctrl+c"),
Cut: hotkey('ctrl+x'),
Delete: Key.Delete,
Duplicate: hotkey("ctrl+d"),
Enter: Key.Enter,
@@ -60,6 +61,7 @@ export const Hotkey = {
Save: hotkey("ctrl+s"),
SearchTree: hotkey("ctrl+p"),
SearchNode: hotkey("ctrl+f"),
SelectAll: hotkey('ctrl+a'),
Undo: hotkey("ctrl+z"),
};