From 96206d1b47908160bd23ad19f0e14971fa9f2c9b Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Thu, 7 Mar 2019 21:26:22 -0500 Subject: [PATCH] Remove PointerEvents debug message when useMouseEvents is enabled --- src/lib/components/Keyboard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/components/Keyboard.js b/src/lib/components/Keyboard.js index 850947c6..31c83e36 100644 --- a/src/lib/components/Keyboard.js +++ b/src/lib/components/Keyboard.js @@ -730,7 +730,8 @@ class SimpleKeyboard { */ if ( this.utilities.pointerEventsSupported() && - !this.options.useTouchEvents + !this.options.useTouchEvents && + !this.options.useMouseEvents ) { if (this.options.debug) { console.log("Using PointerEvents as it is supported by this browser");