@next2d/core 1.18.4 → 1.18.6

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.
Files changed (2) hide show
  1. package/dist/Player.js +2 -2
  2. package/package.json +12 -12
package/dist/Player.js CHANGED
@@ -417,7 +417,7 @@ export class Player {
417
417
  * @public
418
418
  */
419
419
  get tx() {
420
- return this._$matrix[4];
420
+ return this._$matrix[4] / this._$scale / $devicePixelRatio;
421
421
  }
422
422
  /**
423
423
  * @member {number}
@@ -425,7 +425,7 @@ export class Player {
425
425
  * @public
426
426
  */
427
427
  get ty() {
428
- return this._$matrix[5];
428
+ return this._$matrix[5] / this._$scale / $devicePixelRatio;
429
429
  }
430
430
  /**
431
431
  * @member {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/core",
3
- "version": "1.18.4",
3
+ "version": "1.18.6",
4
4
  "description": "Next2D Core Packages",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp> (https://github.com/ienaga/)",
6
6
  "license": "MIT",
@@ -32,16 +32,16 @@
32
32
  "url": "git+https://github.com/Next2D/Player.git"
33
33
  },
34
34
  "peerDependencies": {
35
- "@next2d/interface": "1.18.4",
36
- "@next2d/webgl": "1.18.4",
37
- "@next2d/display": "1.18.4",
38
- "@next2d/core": "1.18.4",
39
- "@next2d/net": "1.18.4",
40
- "@next2d/share": "1.18.4",
41
- "@next2d/events": "1.18.4",
42
- "@next2d/media": "1.18.4",
43
- "@next2d/text": "1.18.4",
44
- "@next2d/geom": "1.18.4",
45
- "@next2d/util": "1.18.4"
35
+ "@next2d/interface": "1.18.6",
36
+ "@next2d/webgl": "1.18.6",
37
+ "@next2d/display": "1.18.6",
38
+ "@next2d/core": "1.18.6",
39
+ "@next2d/net": "1.18.6",
40
+ "@next2d/share": "1.18.6",
41
+ "@next2d/events": "1.18.6",
42
+ "@next2d/media": "1.18.6",
43
+ "@next2d/text": "1.18.6",
44
+ "@next2d/geom": "1.18.6",
45
+ "@next2d/util": "1.18.6"
46
46
  }
47
47
  }