@antv/g-webgpu 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -435,7 +435,6 @@
435
435
  var _class;
436
436
 
437
437
  var DOMInteractionPlugin_1;
438
- var MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;
439
438
  /**
440
439
  * listen to mouse/touch/pointer events on DOM wrapper, trigger pointer events
441
440
  */
@@ -451,8 +450,7 @@
451
450
  _proto.apply = function apply(renderingService) {
452
451
  var _this = this;
453
452
 
454
- var canvas = this.renderingContext.root.ownerDocument.defaultView;
455
- var SUPPORT_ONLY_TOUCH = canvas.supportsTouchEvents && MOBILE_REGEX.test(navigator.userAgent);
453
+ var canvas = this.renderingContext.root.ownerDocument.defaultView; // const SUPPORT_ONLY_TOUCH = canvas.supportsTouchEvents && MOBILE_REGEX.test(navigator.userAgent);
456
454
 
457
455
  var onPointerMove = function onPointerMove(ev) {
458
456
  renderingService.hooks.pointerMove.call(ev);