From f7636176a2c9d03c713bb9788f1f729ee1d78bf0 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Fri, 16 Feb 2018 16:10:33 -0800 Subject: [PATCH] Disable pointer events for the february release --- core/touch.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/core/touch.js b/core/touch.js index 8aad46b08..816e8d618 100644 --- a/core/touch.js +++ b/core/touch.js @@ -48,13 +48,7 @@ Blockly.Touch.touchIdentifier_ = null; * @type {Object} */ Blockly.Touch.TOUCH_MAP = {}; -if (window.PointerEvent) { - Blockly.Touch.TOUCH_MAP = { - 'mousedown': ['pointerdown'], - 'mousemove': ['pointermove'], - 'mouseup': ['pointerup', 'pointercancel'] - }; -} else if (goog.events.BrowserFeature.TOUCH_ENABLED) { +if (goog.events.BrowserFeature.TOUCH_ENABLED) { Blockly.Touch.TOUCH_MAP = { 'mousedown': ['touchstart'], 'mousemove': ['touchmove'],