Skip to content

@graphty/graphty-element / catalog / CANVAS_KEY_DESCRIPTORS

Variable: CANVAS_KEY_DESCRIPTORS ​

const CANVAS_KEY_DESCRIPTORS: readonly CanvasKeyDescriptor[]

Defined in: graphty-element/src/catalog/canvasKeys.ts:44

Every key the canvas answers while it has focus, per camera. A key held repeats its action every frame; a key tapped acts once. A key pressed with Control, Alt or Meta, or with Shift (except "+" and "_", which Shift types), is left to the page as a shortcut.