mirror of
https://github.com/google/blockly.git
synced 2026-01-13 11:57:10 +01:00
Merge pull request #1637 from rachel-fenichel/cp/disable_pointerevents
Disable pointer events for the february release
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user