cytoscape-cxtmenu
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -541,4 +541,4 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var pageX = isTouch ? origE.touches[0].pageX : origE.pageX; | ||
var pageY = isTouch ? origE.touches[0].pageY : origE.pageY; | ||
var pageX = (isTouch ? origE.touches[0].pageX : origE.pageX) - window.scrollX; | ||
var pageY = (isTouch ? origE.touches[0].pageY : origE.pageY) - window.scrollY; | ||
@@ -545,0 +545,0 @@ activeCommandI = undefined; |
{ | ||
"name": "cytoscape-cxtmenu", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "A circular, swipeable context menu extension for Cytoscape.js", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-cxtmenu.js", |
@@ -451,4 +451,4 @@ const defaults = require('./defaults'); | ||
let pageX = isTouch ? origE.touches[0].pageX : origE.pageX; | ||
let pageY = isTouch ? origE.touches[0].pageY : origE.pageY; | ||
let pageX = (isTouch ? origE.touches[0].pageX : origE.pageX) - window.scrollX; | ||
let pageY = (isTouch ? origE.touches[0].pageY : origE.pageY) - window.scrollY; | ||
@@ -455,0 +455,0 @@ activeCommandI = undefined; |
Sorry, the diff of this file is not supported yet
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
83140
17
1211