@next2d/text 3.2.1 → 3.3.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next2d/text",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Next2D Text Package",
|
|
5
5
|
"author": "Toshiyuki Ienaga<ienaga@next2d.app> (https://github.com/ienaga/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"url": "git+https://github.com/Next2D/Player.git"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@next2d/display": "3.
|
|
28
|
-
"@next2d/geom": "3.
|
|
29
|
-
"@next2d/events": "3.
|
|
30
|
-
"@next2d/ui": "3.
|
|
31
|
-
"@next2d/cache": "3.
|
|
27
|
+
"@next2d/display": "3.3.0",
|
|
28
|
+
"@next2d/geom": "3.3.0",
|
|
29
|
+
"@next2d/events": "3.3.0",
|
|
30
|
+
"@next2d/ui": "3.3.0",
|
|
31
|
+
"@next2d/cache": "3.3.0"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -13,8 +13,11 @@ export const execute = (text_field) => {
|
|
|
13
13
|
text_field.$textData = null;
|
|
14
14
|
textFieldApplyChangesService(text_field);
|
|
15
15
|
// Remove cache
|
|
16
|
+
// Main 側のみ wipe する。Worker 側は次回 MISS 描画時に
|
|
17
|
+
// 旧 Node を解放してから新 Node を確保するため、ここで $removeIds.push しない。
|
|
18
|
+
// push してしまうと、Worker が同フレームで作成した新キャッシュを次フレーム冒頭で
|
|
19
|
+
// wipe → その次のフレームで Main HIT → Worker null → 永続無描画 になる。
|
|
16
20
|
if (text_field.uniqueKey !== "" && $cacheStore.has(text_field.uniqueKey)) {
|
|
17
21
|
$cacheStore.removeById(text_field.uniqueKey);
|
|
18
|
-
$cacheStore.$removeIds.push(+text_field.uniqueKey);
|
|
19
22
|
}
|
|
20
23
|
};
|