diff --git a/src/components/ToolButton.tsx b/src/components/ToolButton.tsx index a78fa3f12..5833ed6b0 100644 --- a/src/components/ToolButton.tsx +++ b/src/components/ToolButton.tsx @@ -165,6 +165,9 @@ export const ToolButton = React.forwardRef((props: ToolButtonProps, ref) => { aria-keyshortcuts={props["aria-keyshortcuts"]} data-testid={props["data-testid"]} id={`${excalId}-${props.id}`} + onPointerDown={(e) => { + props.onPointerDown?.({ pointerType: e.pointerType }); + }} onChange={() => { props.onChange?.({ pointerType: lastPointerTypeRef.current }); }}