mirror of
https://github.com/stablyai/orca.git
synced 2026-10-20 08:03:28 +00:00
docs(ime): correct the Electron.Input marker note on the detector input type
Electron.Input does carry isComposing; only the numeric keyCode is absent. Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -27,7 +27,8 @@ export type ModifierKeyEventLike = {
|
||||
alt?: boolean
|
||||
meta?: boolean
|
||||
isAutoRepeat?: boolean
|
||||
// Optional so non-DOM callers (Electron before-input-event) keep their current behavior.
|
||||
// Optional because `Electron.Input` has no numeric keyCode; it does carry isComposing, so the
|
||||
// before-input-event callers pass that one.
|
||||
isComposing?: boolean
|
||||
keyCode?: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user