mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-29 18:04:21 +01:00
testing
This commit is contained in:
@@ -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 });
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user