mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
testing
This commit is contained in:
parent
563caa3f07
commit
01789c3375
1 changed files with 3 additions and 0 deletions
|
@ -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 });
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue