Comparing version 3.4.0-beta.12 to 3.4.0-beta.13
@@ -91,7 +91,14 @@ var Util = require('../../util/index'); | ||
} | ||
} // 拖拽过程中不会触发mousemove事件 | ||
} | ||
if (dragging) { | ||
self._emitEvent('drag', e, point, dragging); | ||
/** | ||
* H5原生事件中drag同时不会触发mousemove | ||
* 但是在上层具有嵌套关系的item事件计算中需要用到drag时的mousemove | ||
* 才能计算dragenter etc. | ||
*/ | ||
self._emitEvent('mousemove', e, point, shape); | ||
} | ||
@@ -98,0 +105,0 @@ |
@@ -23,3 +23,3 @@ module.exports = { | ||
// version, etc. | ||
version: '3.4.0-beta.12' | ||
version: '3.4.0-beta.13' | ||
}; |
{ | ||
"name": "@antv/g", | ||
"version": "3.4.0-beta.12", | ||
"version": "3.4.0-beta.13", | ||
"description": "A canvas library which providing 2d draw for G2.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -99,5 +99,10 @@ const Util = require('../../util/index'); | ||
} | ||
// 拖拽过程中不会触发mousemove事件 | ||
if (dragging) { | ||
self._emitEvent('drag', e, point, dragging); | ||
/** | ||
* H5原生事件中drag同时不会触发mousemove | ||
* 但是在上层具有嵌套关系的item事件计算中需要用到drag时的mousemove | ||
* 才能计算dragenter etc. | ||
*/ | ||
self._emitEvent('mousemove', e, point, shape); | ||
} | ||
@@ -104,0 +109,0 @@ if (shape) { |
@@ -23,3 +23,3 @@ module.exports = { | ||
// version, etc. | ||
version: '3.4.0-beta.12' | ||
version: '3.4.0-beta.13' | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1049268
27765