From e87c8c9e1e19c1e21cb6c5e102cc90780bb022ca Mon Sep 17 00:00:00 2001 From: Uwe Oestermeier Date: Fri, 5 Jul 2019 09:39:01 +0200 Subject: [PATCH] Renamed simulateClick to clickOnTap --- dist/iwmlib.js | 6 +++--- dist/iwmlib.pixi.js | 6 +++--- lib/scatter.js | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dist/iwmlib.js b/dist/iwmlib.js index 50a3b26..3c9f519 100644 --- a/dist/iwmlib.js +++ b/dist/iwmlib.js @@ -5149,7 +5149,7 @@ width = null, // required height = null, // required resizable = false, - simulateClick = false, + clickOnTap = false, verbose = true, onResize = null, touchAction = 'none', @@ -5200,7 +5200,7 @@ this.height = height; this.throwVisibility = Math.min(width, height, throwVisibility); this.container = container; - this.simulateClick = simulateClick; + this.clickOnTap = clickOnTap; this.scale = startScale; this.rotationDegrees = this.startRotationDegrees; this.transformOrigin = transformOrigin; @@ -5406,7 +5406,7 @@ } onTap(event, interaction, point) { - if (this.simulateClick) { + if (this.clickOnTap) { let p = Points.fromPageToNode(this.element, point); let element = document.elementFromPoint(p.x, p.y); if (element != null) { diff --git a/dist/iwmlib.pixi.js b/dist/iwmlib.pixi.js index 16d53ae..8216093 100644 --- a/dist/iwmlib.pixi.js +++ b/dist/iwmlib.pixi.js @@ -6920,7 +6920,7 @@ width = null, // required height = null, // required resizable = false, - simulateClick = false, + clickOnTap = false, verbose = true, onResize = null, touchAction = 'none', @@ -6971,7 +6971,7 @@ this.height = height; this.throwVisibility = Math.min(width, height, throwVisibility); this.container = container; - this.simulateClick = simulateClick; + this.clickOnTap = clickOnTap; this.scale = startScale; this.rotationDegrees = this.startRotationDegrees; this.transformOrigin = transformOrigin; @@ -7177,7 +7177,7 @@ } onTap(event, interaction, point) { - if (this.simulateClick) { + if (this.clickOnTap) { let p = Points.fromPageToNode(this.element, point); let element = document.elementFromPoint(p.x, p.y); if (element != null) { diff --git a/lib/scatter.js b/lib/scatter.js index 02a65ac..d5d1c25 100644 --- a/lib/scatter.js +++ b/lib/scatter.js @@ -1037,7 +1037,7 @@ export class DOMScatter extends AbstractScatter { width = null, // required height = null, // required resizable = false, - simulateClick = false, + clickOnTap = false, verbose = true, onResize = null, touchAction = 'none', @@ -1088,7 +1088,7 @@ export class DOMScatter extends AbstractScatter { this.height = height this.throwVisibility = Math.min(width, height, throwVisibility) this.container = container - this.simulateClick = simulateClick + this.clickOnTap = clickOnTap this.scale = startScale this.rotationDegrees = this.startRotationDegrees this.transformOrigin = transformOrigin @@ -1294,7 +1294,7 @@ export class DOMScatter extends AbstractScatter { } onTap(event, interaction, point) { - if (this.simulateClick) { + if (this.clickOnTap) { let p = Points.fromPageToNode(this.element, point) let element = document.elementFromPoint(p.x, p.y) if (element != null) {