mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-15 13:30:06 +02:00
testing
This commit is contained in:
@@ -166,7 +166,7 @@ export const ToolButton = React.forwardRef((props: ToolButtonProps, ref) => {
|
|||||||
data-testid={props["data-testid"]}
|
data-testid={props["data-testid"]}
|
||||||
id={`${excalId}-${props.id}`}
|
id={`${excalId}-${props.id}`}
|
||||||
onPointerDown={(e) => {
|
onPointerDown={(e) => {
|
||||||
props.onPointerDown?.({ pointerType: e.pointerType });
|
props.onPointerDown?.({ pointerType: "pen" });
|
||||||
}}
|
}}
|
||||||
onChange={() => {
|
onChange={() => {
|
||||||
props.onChange?.({ pointerType: lastPointerTypeRef.current });
|
props.onChange?.({ pointerType: lastPointerTypeRef.current });
|
||||||
|
Reference in New Issue
Block a user