(event: KeyboardEvent)
| 54 | } |
| 55 | |
| 56 | function signatureFromEvent(event: KeyboardEvent) { |
| 57 | return signature(normalizeKey(event.key), event.ctrlKey, event.metaKey, event.shiftKey, event.altKey) |
| 58 | } |
| 59 | |
| 60 | function isAllowedEditableKeybind(id: string | undefined) { |
| 61 | if (!id) return false |
no test coverage detected