Commit 9e374f4c authored by 李维's avatar 李维

dev commit

parent b37c7339
...@@ -315,7 +315,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -315,7 +315,7 @@ export class PlayComponent implements OnInit, OnDestroy {
this.m_questionCard_All.push(this.createQuestionCardText(index, element.text)) this.m_questionCard_All.push(this.createQuestionCardText(index, element.text))
}); });
this.m_questionCard_All = this.randomArray_shuffle(this.m_questionCard_All) this.m_questionCard_All = this.randomArray_shuffle(this.m_questionCard_All)
this.alignCenter(this.m_questionCard_All, 40*this.g_mapScale, true) this.alignCenter(this.m_questionCard_All, 30*this.g_mapScale, true)
} }
createQuestionCardText(index, text){ createQuestionCardText(index, text){
...@@ -443,7 +443,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -443,7 +443,7 @@ export class PlayComponent implements OnInit, OnDestroy {
this.m_questionCard_All.push(this.createQuestionCardImage(index, item.image_url)) this.m_questionCard_All.push(this.createQuestionCardImage(index, item.image_url))
}) })
this.m_questionCard_All = this.randomArray_shuffle(this.m_questionCard_All) this.m_questionCard_All = this.randomArray_shuffle(this.m_questionCard_All)
this.alignCenter(this.m_questionCard_All, 40*this.g_mapScale, true) this.alignCenter(this.m_questionCard_All, 30*this.g_mapScale, true)
} }
createQuestionCardImage(index, data){ createQuestionCardImage(index, data){
......
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