mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
This fixes keyboard shortcuts not working on non-English (non-Latin) keyboard layouts. Changes: - KeyComboImpl.fromEvent() now uses event.code instead of event.key - Updated isModifier check to use key codes for modifier keys - Added getDisplayKey() method to convert key codes to readable names - Updated Escape key handling in keybindingService to use event.code - Updated KeybindingPanel captureKeybinding to use event.code - Migrated all core keybindings from event.key to event.code format - Fixed tests to mock event.code instead of event.key Fixes #5252 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>