boostcamp-2020/Project18-B-Web-Duxit

[BUG] vote result `scoreContainer`가 wrapup안되고 남음

Opened this issue · 0 comments

// src/frontend/scenes/voteResult/render.js
const scoreContainer = new GameObject({
  position: [cardX, cardY + DIFF_Y_POSITION_SCORE],
  origin: ORIGIN_SCORE,
});
scoreContainer.addClass('score-wrapper');
scoreContainer.attachToRoot();
return {
  ...prev,
  [cardID]: {
    stampContainer,
    nameContainer,
    scoreContainer,
  },
};

얘가 scene 넘어갈때 wrapup안되고 남습니다.