dispatchOnKeyDown method

void dispatchOnKeyDown(
  1. PCanvasKeyEvent event
)

Processes event and calls onKeyDown.

Implementation

void dispatchOnKeyDown(PCanvasKeyEvent event) {
  pCanvas?.dispatchOnKeyDown(event);
  onKeyDown(event);
}