Skip to content

Commit

Permalink
fix: Remove the console output statement. (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
StringKe authored Oct 18, 2021
1 parent ef1a6f0 commit 8a0bfac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/remove-console-log.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@use-gesture/core": patch
---

fix: Remove the console output statement.
5 changes: 5 additions & 0 deletions .changeset/seven-kiwis-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@use-gesture/core": patch
---

fix: Remove the console output statement.
2 changes: 0 additions & 2 deletions packages/core/src/engines/DragEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a0bfac

Please sign in to comment.