@pirireis/webglobeplugins 0.5.7 → 0.5.8
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.
|
@@ -68,9 +68,7 @@ export class ChainListMap {
|
|
|
68
68
|
const lastItem = chain[chain.length - 1];
|
|
69
69
|
if (removeSet.has(lastItem.key)) {
|
|
70
70
|
this._indexMap.delete(lastItem.__identity__);
|
|
71
|
-
console.log("lastItem", lastItem);
|
|
72
71
|
if (chain.length > 1) {
|
|
73
|
-
console.log(chain[chain.length - 2])
|
|
74
72
|
deleteKeys.push(chain[chain.length - 2].__identity__);
|
|
75
73
|
deleteKeys.push(chain[chain.length - 1].__identity__);
|
|
76
74
|
};
|
|
@@ -78,7 +76,6 @@ export class ChainListMap {
|
|
|
78
76
|
newChain.push(lastItem);
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
|
-
console.log("deleteKeys");
|
|
82
79
|
this._chainMap.set(chainKey, newChain);
|
|
83
80
|
return deleteKeys;
|
|
84
81
|
}
|
|
@@ -170,7 +167,6 @@ export class ChainListMap {
|
|
|
170
167
|
*/
|
|
171
168
|
textUpdate(chainKey, textWriterObjs) {
|
|
172
169
|
const chain = this._chainMap.get(chainKey);
|
|
173
|
-
console.log(chainKey, this._chainMap, "chain", chain)
|
|
174
170
|
if (!chain) return;
|
|
175
171
|
const properties = this._chainSideProperties.get(chainKey);
|
|
176
172
|
textWriterObjs.forEach((writer) => {
|
|
@@ -294,7 +294,6 @@ export class CircleLineChainPlugin {
|
|
|
294
294
|
_updateTexts(chainKeys, textWriterIDs) {
|
|
295
295
|
const textWriters = textWriterIDs.map((v) => this._textContextWriterInjectionMap.get(v));
|
|
296
296
|
chainKeys.forEach((chainKey) => {
|
|
297
|
-
console.log("textUpdate");
|
|
298
297
|
this._chainListMap.textUpdate(chainKey, textWriters);
|
|
299
298
|
})
|
|
300
299
|
}
|