@quinninc/pixi-transformer 0.0.9 → 0.1.0

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.
@@ -149,10 +149,18 @@ export class Transformer extends Pixi.Container {
149
149
  if (!that.target)
150
150
  return;
151
151
  const eventPoint = that.convertToLocal(ev.global);
152
- console.log("Prev anchor - ", that._anchor);
153
- console.log("ev.position - ", eventPoint.x, eventPoint.y);
154
- console.log("that.target.position - ", that.target.position.x, that.target.position.y);
155
- console.log("that.target.pivot - ", that.target.pivot.x, that.target.pivot.y);
152
+ // console.log("Prev anchor - ", that._anchor);
153
+ // console.log("ev.position - ", eventPoint.x, eventPoint.y);
154
+ // console.log(
155
+ // "that.target.position - ",
156
+ // that.target.position.x,
157
+ // that.target.position.y,
158
+ // );
159
+ // console.log(
160
+ // "that.target.pivot - ",
161
+ // that.target.pivot.x,
162
+ // that.target.pivot.y,
163
+ // );
156
164
  let dx, dy;
157
165
  // calc new pivot point
158
166
  // step 1 - translate to origin
@@ -547,7 +555,7 @@ export class Transformer extends Pixi.Container {
547
555
  }
548
556
  update() {
549
557
  if (!this.target) {
550
- console.log("no target, returning...");
558
+ // console.log("no target, returning...");
551
559
  return;
552
560
  }
553
561
  // copy object translation/transformation
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quinninc/pixi-transformer",
3
3
  "private": false,
4
- "version": "0.0.9",
4
+ "version": "0.1.0",
5
5
  "repository": {
6
6
  "url": "https://github.com/Quinn-Care-Private-Limited/pixi-transformer"
7
7
  },