Fix: button classes revised
This commit is contained in:
@@ -35,10 +35,11 @@ class TypingTest {
|
||||
|
||||
let TYPING_CONTENT_Y = 320;
|
||||
|
||||
if(isTypingWordStage())
|
||||
textStyleBasic.font = "bold 84px Arial";
|
||||
else // Sentence stage
|
||||
if( (isKoreanTypingStage() && isTypingSentenceStage())
|
||||
|| (isEnglishTypingStage() && isTypingSentenceStage()) )
|
||||
textStyleBasic.font = "bold 48px Arial";
|
||||
else
|
||||
textStyleBasic.font = "bold 84px Arial";
|
||||
|
||||
this.textTypingContent = game.add.text(
|
||||
game.world.centerX, TYPING_CONTENT_Y,
|
||||
@@ -48,7 +49,7 @@ class TypingTest {
|
||||
.addColor(TypingTest.COLOR_CONTENT_INPUT, 0);
|
||||
this.textTypingContent.anchor.set(0.5);
|
||||
|
||||
let TYPING_OFFSET_Y = 100;
|
||||
let TYPING_OFFSET_Y = 90;
|
||||
textStyleBasic.font = "32px Arial";
|
||||
|
||||
let textDoneColor = [ '#99994d', '#77774d', '#66664d' ];
|
||||
|
||||
Reference in New Issue
Block a user