3 Commits

Author SHA1 Message Date
Sebastian Kupke 1fbbbbe9a9 Removed link to pixi-projection map file. 2019-04-11 10:59:52 +02:00
Sebastian Kupke e4a1b9d63b Updated version number. 2019-04-09 10:57:28 +02:00
mhalfmann 31186d99a6 fixed bug when resizing scaled pads 2019-04-08 12:31:50 +02:00
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -76556,7 +76556,7 @@ var pixi_projection;
}
};
})(pixi_projection || (pixi_projection = {}));
//# sourceMappingURL=pixi-projection.js.map
/*!
* VERSION: 2.1.2
* DATE: 2019-03-01
+4 -4
View File
@@ -4149,12 +4149,12 @@
e.preventDefault();
let event = new CustomEvent('resizeStarted');
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
let oldPostition = {x: this.element.getBoundingClientRect().left, y: this.element.getBoundingClientRect().top};
this.bringToFront();
this.element.style.transformOrigin = "0% 0%";
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
let newPostition = {x: this.element.getBoundingClientRect().left, y: this.element.getBoundingClientRect().top};
let offset = Points.subtract(oldPostition, newPostition);
@@ -4207,9 +4207,9 @@
e.preventDefault();
let event = new CustomEvent('resizeEnded');
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
let oldPostition = {x: this.element.getBoundingClientRect().left, y: this.element.getBoundingClientRect().top};
this.element.style.transformOrigin = "50% 50%";
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
let newPostition = {x: this.element.getBoundingClientRect().left, y: this.element.getBoundingClientRect().top};
let offset = Points.subtract(oldPostition, newPostition);
TweenLite.to(this.element, 0, { css: { left: "+=" + offset.x + "px" } });
+4 -4
View File
@@ -1386,12 +1386,12 @@ export class DOMScatter extends AbstractScatter {
e.preventDefault()
let event = new CustomEvent('resizeStarted')
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop}
let oldPostition = {x: this.element.getBoundingClientRect().left, y: this.element.getBoundingClientRect().top};
this.bringToFront()
this.element.style.transformOrigin = "0% 0%"
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop}
let newPostition = {x: this.element.getBoundingClientRect().left, y: this.element.getBoundingClientRect().top};
let offset = Points.subtract(oldPostition, newPostition)
@@ -1444,9 +1444,9 @@ export class DOMScatter extends AbstractScatter {
e.preventDefault()
let event = new CustomEvent('resizeEnded')
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop}
let oldPostition = {x: this.element.getBoundingClientRect().left, y: this.element.getBoundingClientRect().top};
this.element.style.transformOrigin = "50% 50%"
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop}
let newPostition = {x: this.element.getBoundingClientRect().left, y: this.element.getBoundingClientRect().top};
let offset = Points.subtract(oldPostition, newPostition)
TweenLite.to(this.element, 0, { css: { left: "+=" + offset.x + "px" } })
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "iwmlib",
"version": "1.2.0",
"version": "1.3.0",
"description": "An Open Source library for multi-touch, WebGL powered applications.",
"main": "index.js",
"directories": {