Commit 70aebb7a authored by haiyoucuv's avatar haiyoucuv

init

parent 13d84662
......@@ -33,6 +33,7 @@ export class BubbleMgr extends Base {
// 找到bubbleArr中不在newBubbleKeys中的bubble
this.bubbleArr.forEach((bubble, i) => {
if (i >= 4) return;
if (bubble && !newBubbleKeys.includes(bubble.id)) {
bubble.destroy();
this.bubbleArr[i] = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment