dispatchOnClick method

  1. @override
PCanvasClickEvent dispatchOnClick(
  1. PCanvasClickEvent event
)
override

Processes event and calls onClick

Implementation

@override
PCanvasClickEvent dispatchOnClick(PCanvasClickEvent event) {
  var event2 = super.dispatchOnClick(event);
  onClick(event2);
  return event2;
}