Commit 6b2cf5ca authored by 范雪寒's avatar 范雪寒

fix: bugs

parent 4f5fcb49
......@@ -305,12 +305,13 @@ cc.Class({
.to(0.5, { opacity: 0 })
.start();
optionList.forEach((data, idx) => {
optionList.forEach(async (data, idx) => {
const option = cc.find(`Canvas/OptionPosListBase/optionNode_${idx}`);
option.canClick = false;
if (option != optionNode) {
const animeNode = cc.find('OptionDragonBoneBaseNode/animeNode', option);
// const animeNode = cc.find('OptionDragonBoneBaseNode/animeNode', option);
const animeNode = await asyncLoadDragonBoneAnime(cc.find('OptionDragonBoneBaseNode', option), data.optionDragonBone);
if (animeNode) {
animeNode.color = cc.color(255, 255, 255, 255);
asyncPlayDragonBoneAnimation(animeNode, 'normal', -1);
......@@ -321,6 +322,7 @@ cc.Class({
resetQuestionBoard() {
const labelBgNode = cc.find('Canvas/QuestionLabelBg');
labelBgNode.stopAllActions();
labelBgNode.y = 463;
},
......
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