@next2d/display 1.18.11 → 1.18.12
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/BitmapData.js +1 -0
- package/dist/DisplayObjectContainer.js +10 -6
- package/package.json +12 -12
package/dist/BitmapData.js
CHANGED
|
@@ -386,6 +386,7 @@ export class BitmapData {
|
|
|
386
386
|
// reset
|
|
387
387
|
context.reset();
|
|
388
388
|
context.setTransform(1, 0, 0, 1, 0, 0);
|
|
389
|
+
context._$setColor(0, 0, 0, 0);
|
|
389
390
|
context.clearRect(0, 0, player._$width, player._$height);
|
|
390
391
|
context.beginPath();
|
|
391
392
|
source._$draw(context, tMatrix, colorTransform);
|
|
@@ -495,7 +495,11 @@ export class DisplayObjectContainer extends InteractiveObject {
|
|
|
495
495
|
if (!currentChildren.length) {
|
|
496
496
|
if (controller) {
|
|
497
497
|
for (let idx = 0; idx < controller.length; ++idx) {
|
|
498
|
-
const
|
|
498
|
+
const dictionaryId = controller[idx];
|
|
499
|
+
if (typeof dictionaryId !== "number") {
|
|
500
|
+
continue;
|
|
501
|
+
}
|
|
502
|
+
const instance = this._$createInstance(dictionaryId);
|
|
499
503
|
instance._$placeId = idx;
|
|
500
504
|
const loopConfig = instance.loopConfig;
|
|
501
505
|
if (loopConfig) {
|
|
@@ -593,13 +597,13 @@ export class DisplayObjectContainer extends InteractiveObject {
|
|
|
593
597
|
}
|
|
594
598
|
if (controller) {
|
|
595
599
|
for (let idx = 0; idx < controller.length; ++idx) {
|
|
596
|
-
const
|
|
597
|
-
if (skipIds.has(
|
|
600
|
+
const dictionaryId = controller[idx];
|
|
601
|
+
if (typeof dictionaryId !== "number" || skipIds.has(dictionaryId)) {
|
|
598
602
|
continue;
|
|
599
603
|
}
|
|
600
|
-
const instance = poolInstances.has(
|
|
601
|
-
? poolInstances.get(
|
|
602
|
-
: this._$createInstance(
|
|
604
|
+
const instance = poolInstances.has(dictionaryId)
|
|
605
|
+
? poolInstances.get(dictionaryId)
|
|
606
|
+
: this._$createInstance(dictionaryId);
|
|
603
607
|
instance._$placeId = idx;
|
|
604
608
|
const loopConfig = instance.loopConfig;
|
|
605
609
|
if (loopConfig) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next2d/display",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.12",
|
|
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.12",
|
|
36
|
+
"@next2d/core": "1.18.12",
|
|
37
|
+
"@next2d/ui": "1.18.12",
|
|
38
|
+
"@next2d/text": "1.18.12",
|
|
39
|
+
"@next2d/geom": "1.18.12",
|
|
40
|
+
"@next2d/util": "1.18.12",
|
|
41
|
+
"@next2d/share": "1.18.12",
|
|
42
|
+
"@next2d/webgl": "1.18.12",
|
|
43
|
+
"@next2d/media": "1.18.12",
|
|
44
|
+
"@next2d/net": "1.18.12",
|
|
45
|
+
"@next2d/events": "1.18.12"
|
|
46
46
|
}
|
|
47
47
|
}
|