@next2d/display 1.18.2 → 1.18.4
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.
- package/dist/TextField.js +2 -2
- package/package.json +12 -12
package/dist/TextField.js
CHANGED
|
@@ -1602,7 +1602,7 @@ export class TextField extends InteractiveObject {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
const lineObject = textData.lineTable[line];
|
|
1604
1604
|
const offsetAlign = this._$getAlignOffset(lineObject, this.width);
|
|
1605
|
-
const point = this.localToGlobal(new Point(offsetWidth + offsetAlign, offsetHeight + verticalAlign));
|
|
1605
|
+
const point = this.localToGlobal(new Point(offsetWidth + offsetAlign - player.tx, offsetHeight + verticalAlign - player.ty));
|
|
1606
1606
|
const div = $document
|
|
1607
1607
|
.getElementById(player.contentElementId);
|
|
1608
1608
|
let left = point.x * player._$scale;
|
|
@@ -1984,7 +1984,7 @@ export class TextField extends InteractiveObject {
|
|
|
1984
1984
|
}
|
|
1985
1985
|
}
|
|
1986
1986
|
// set height
|
|
1987
|
-
this._$bounds.yMax = this.textHeight + this._$originBounds.yMin;
|
|
1987
|
+
this._$bounds.yMax = this.textHeight + this._$originBounds.yMin + 4;
|
|
1988
1988
|
}
|
|
1989
1989
|
else {
|
|
1990
1990
|
if (this._$scrollEnabled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next2d/display",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.4",
|
|
4
4
|
"description": "Next2D Display 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.
|
|
36
|
-
"@next2d/core": "1.18.
|
|
37
|
-
"@next2d/ui": "1.18.
|
|
38
|
-
"@next2d/text": "1.18.
|
|
39
|
-
"@next2d/geom": "1.18.
|
|
40
|
-
"@next2d/util": "1.18.
|
|
41
|
-
"@next2d/share": "1.18.
|
|
42
|
-
"@next2d/webgl": "1.18.
|
|
43
|
-
"@next2d/media": "1.18.
|
|
44
|
-
"@next2d/net": "1.18.
|
|
45
|
-
"@next2d/events": "1.18.
|
|
35
|
+
"@next2d/interface": "1.18.4",
|
|
36
|
+
"@next2d/core": "1.18.4",
|
|
37
|
+
"@next2d/ui": "1.18.4",
|
|
38
|
+
"@next2d/text": "1.18.4",
|
|
39
|
+
"@next2d/geom": "1.18.4",
|
|
40
|
+
"@next2d/util": "1.18.4",
|
|
41
|
+
"@next2d/share": "1.18.4",
|
|
42
|
+
"@next2d/webgl": "1.18.4",
|
|
43
|
+
"@next2d/media": "1.18.4",
|
|
44
|
+
"@next2d/net": "1.18.4",
|
|
45
|
+
"@next2d/events": "1.18.4"
|
|
46
46
|
}
|
|
47
47
|
}
|