diff --git a/.changeset/remove-console-log.md b/.changeset/remove-console-log.md new file mode 100644 index 000000000..4ced3ead9 --- /dev/null +++ b/.changeset/remove-console-log.md @@ -0,0 +1,5 @@ +--- +"@use-gesture/core": patch +--- + +fix: Remove the console output statement. diff --git a/.changeset/seven-kiwis-peel.md b/.changeset/seven-kiwis-peel.md new file mode 100644 index 000000000..4ced3ead9 --- /dev/null +++ b/.changeset/seven-kiwis-peel.md @@ -0,0 +1,5 @@ +--- +"@use-gesture/core": patch +--- + +fix: Remove the console output statement. diff --git a/packages/core/src/engines/DragEngine.ts b/packages/core/src/engines/DragEngine.ts index 0e0c5f808..d9615b2a3 100644 --- a/packages/core/src/engines/DragEngine.ts +++ b/packages/core/src/engines/DragEngine.ts @@ -75,8 +75,6 @@ export class DragEngine extends CoordinatesEngine<'drag'> { const config = this.config const state = this.state - console.log(config.pointerButtons) - if (event.buttons != null && event.buttons !== config.pointerButtons) return this.ctrl.setEventIds(event) // We need to capture all pointer ids so that we can keep track of them when