efront 4.5.17 → 4.5.18
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/coms/zimoli/on.js +1 -1
- package/package.json +1 -1
- package/public/efront.js +1 -1
package/coms/zimoli/on.js
CHANGED
|
@@ -471,7 +471,7 @@ var invoke = function (event, type, pointerType) {
|
|
|
471
471
|
}
|
|
472
472
|
var dis = (a, b) => a * a + b * b
|
|
473
473
|
function clickcancel(event) {
|
|
474
|
-
if (!event || event.which && dis(event.clientX - pointerX, event.clientY - pointerY) >= MOVELOCK_DELTA * MOVELOCK_DELTA) {
|
|
474
|
+
if (!event || (event.which || event.touches) && dis(event.clientX - pointerX, event.clientY - pointerY) >= MOVELOCK_DELTA * MOVELOCK_DELTA) {
|
|
475
475
|
onclick.preventClick = true;
|
|
476
476
|
}
|
|
477
477
|
}
|