[fix] pointer capture logging when debug flag is off (#2850)

This PR fixes a bug where pointer capture would log when the debug flag
was off.

### Change Type

- [x] `patch` — Bug fix
This commit is contained in:
Steve Ruiz 2024-02-16 10:41:27 +00:00 committed by GitHub
parent ba47cd08cc
commit dd67577fea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,8 +74,8 @@ export function releasePointerCapture(
} else {
console.warn('Release without capture')
}
console.warn('releasePointerCapture called on element:', element, event)
}
console.warn('releasePointerCapture called on element:', element, event)
}
/** @public */