Apply formatting changes

This commit is contained in:
eoghanmurray
2023-03-30 16:12:33 +00:00
committed by github-actions[bot]
parent 351c5551da
commit 73ee29f208

View File

@@ -244,7 +244,9 @@ function initMouseInteractionObserver({
if (MouseInteractions[eventKey] === MouseInteractions.MouseDown) {
// we are actually listening on 'pointerdown'
eventKey = 'TouchStart';
} else if (MouseInteractions[eventKey] === MouseInteractions.MouseUp) {
} else if (
MouseInteractions[eventKey] === MouseInteractions.MouseUp
) {
// we are actually listening on 'pointerup'
eventKey = 'TouchEnd';
}
@@ -271,7 +273,7 @@ function initMouseInteractionObserver({
id,
x: clientX,
y: clientY,
...pointerType && { pointerType }
...(pointerType && { pointerType }),
});
};
};