handlerPointerDown method
Implementation
@override
bool handlerPointerDown(PointerDownEvent event) {
if (!enableMouseGesture || event.kind != PointerDeviceKind.mouse) {
return super.handlerPointerDown(event);
}
if (hasGameRef) {
onMouseScreenTapDown(
event.pointer,
event.localPosition.toVector2(),
_getMouseButtonByInt(event.buttons),
);
}
return super.handlerPointerDown(event);
}