From 2c1ae53fed40e0e4f343428083de395c25598b60 Mon Sep 17 00:00:00 2001 From: Adi Date: Tue, 31 Jan 2017 16:17:41 +0000 Subject: [PATCH] fixes #106 --- docs.xml | 6 ++++++ haxelib.json | 4 ++-- package.json | 2 +- src/pixi/interaction/InteractionData.hx | 7 +++++++ 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/docs.xml b/docs.xml index d0b4f3b3..c4656fce 100644 --- a/docs.xml +++ b/docs.xml @@ -17745,6 +17745,12 @@ * * @member {Event} + + + * Unique identifier for this interaction + * + * @member {Int} + diff --git a/haxelib.json b/haxelib.json index ae54c6a3..e79d5264 100644 --- a/haxelib.json +++ b/haxelib.json @@ -15,8 +15,8 @@ "contributors": [ "adireddy" ], - "releasenote": "minor bug fixes", - "version": "4.3.2", + "releasenote": "added identifier property in InteractionData", + "version": "4.3.3", "url": "https://github.com/pixijs/pixi-haxe", "dependencies": { "perf.js": "" diff --git a/package.json b/package.json index 88a5b2e6..53be5516 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pixijs", - "version": "4.3.2", + "version": "4.3.3", "description": "Externs of pixi.js v4.x for Haxe - a fast and lightweight 2D rendering library that works across all devices", "author": "Adi Reddy Mora", "homepage": "http://adireddy.github.io", diff --git a/src/pixi/interaction/InteractionData.hx b/src/pixi/interaction/InteractionData.hx index 0e626c17..bf8634ac 100644 --- a/src/pixi/interaction/InteractionData.hx +++ b/src/pixi/interaction/InteractionData.hx @@ -37,6 +37,13 @@ extern class InteractionData { */ var originalEvent:Event; + /** + * Unique identifier for this interaction + * + * @member {Int} + */ + var identifier:Int; + /** * This will return the local coordinates of the specified displayObject for this InteractionData *