refactor: update keyboard shortcuts to prevent conflicts (#100)
Change Keyboard Shortcuts dialog shortcut from Cmd+H to Cmd+. Update memory debug shortcut from Cmd+Shift+M to Cmd+Shift+D Modify model selector shortcut to use Cmd+Shift+M
This commit is contained in:
committed by
GitHub
parent
ff825c7651
commit
a0eac480b4
@@ -157,7 +157,7 @@ function App({ apis }: AppProps) {
|
||||
|
||||
React.useEffect(() => {
|
||||
const handleKeyDown = (e: KeyboardEvent) => {
|
||||
if (hasModifier(e) && e.shiftKey && e.key === 'M') {
|
||||
if (hasModifier(e) && e.shiftKey && e.key === 'D') {
|
||||
e.preventDefault();
|
||||
setShowMemoryDebug(prev => !prev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user