Apply formatting changes
This commit is contained in:
committed by
github-actions[bot]
parent
5a7b6d60ea
commit
1c069aac77
@@ -244,7 +244,9 @@ function initMouseInteractionObserver({
|
|||||||
if (MouseInteractions[eventKey] === MouseInteractions.MouseDown) {
|
if (MouseInteractions[eventKey] === MouseInteractions.MouseDown) {
|
||||||
// we are actually listening on 'pointerdown'
|
// we are actually listening on 'pointerdown'
|
||||||
eventKey = 'TouchStart';
|
eventKey = 'TouchStart';
|
||||||
} else if (MouseInteractions[eventKey] === MouseInteractions.MouseUp) {
|
} else if (
|
||||||
|
MouseInteractions[eventKey] === MouseInteractions.MouseUp
|
||||||
|
) {
|
||||||
// we are actually listening on 'pointerup'
|
// we are actually listening on 'pointerup'
|
||||||
eventKey = 'TouchEnd';
|
eventKey = 'TouchEnd';
|
||||||
}
|
}
|
||||||
@@ -271,7 +273,7 @@ function initMouseInteractionObserver({
|
|||||||
id,
|
id,
|
||||||
x: clientX,
|
x: clientX,
|
||||||
y: clientY,
|
y: clientY,
|
||||||
...pointerType && { pointerType }
|
...(pointerType && { pointerType }),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user